commit | b307bceb5f8f104022a5f306a35c2d2bd161641f | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Nov 17 07:49:55 2011 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Nov 17 07:49:55 2011 |
tree | 9e109f0235bf0565fe022ed1f3dbf4011bc4bd07 | |
parent | 8004a4cb0bf6959d5df10c0e4aac90e00e7d4dd7 [diff] [blame] |
Switch from MountLibrary to DiskMountManager and CrosDisksLibrary This patch is 2nd part of 3 splitted patches made from http://codereview.chromium.org/8386031 BUG=chromium-os:16556 TEST=Confirm that removable disk is correctly mounted Review URL: http://codereview.chromium.org/8497007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110469 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/chromeos/disks/disk_mount_manager.h b/chrome/browser/chromeos/disks/disk_mount_manager.h index 4dbb3eb..c5c9da9 100644 --- a/chrome/browser/chromeos/disks/disk_mount_manager.h +++ b/chrome/browser/chromeos/disks/disk_mount_manager.h
@@ -236,6 +236,12 @@ // Creates the global DiskMountManager instance. static void Initialize(); + // Similar to Initialize(), but can inject an alternative + // DiskMountManager such as MockDiskMountManager for testing. + // The injected object will be owned by the internal pointer and deleted + // by Shutdown(). + static void InitializeForTesting(DiskMountManager* disk_mount_manager); + // Destroys the global DiskMountManager instance if it exists. static void Shutdown();