summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhg@chromium.org <dhg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-28 17:11:46 +0000
committerdhg@chromium.org <dhg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-28 17:11:46 +0000
commita0d8aa402eb146e3ed606dbe2cdf125422e4e8e3 (patch)
tree196e6c15b483de05134bffcc7d1efc668a53fb60
parent00cad318620315a8f8a4f464362fdb4672c7a4a9 (diff)
downloadchromium_src-a0d8aa402eb146e3ed606dbe2cdf125422e4e8e3.zip
chromium_src-a0d8aa402eb146e3ed606dbe2cdf125422e4e8e3.tar.gz
chromium_src-a0d8aa402eb146e3ed606dbe2cdf125422e4e8e3.tar.bz2
On branch 418, remove the usb mount observer from being a listener. This causes the usb devices to not get mounted, and thus no usb storage.
Review URL: http://codereview.chromium.org/2832031 git-svn-id: svn://svn.chromium.org/chrome/branches/418/src@50991 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/browser_init.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc
index 9213502..8ddb8a4 100644
--- a/chrome/browser/browser_init.cc
+++ b/chrome/browser/browser_init.cc
@@ -413,10 +413,6 @@ bool BrowserInit::LaunchBrowser(
if (process_startup) {
// TODO(dhg): Try to make this just USBMountObserver::Get()->set_profile
// and have the constructor take care of everything else.
- chromeos::MountLibrary* lib =
- chromeos::CrosLibrary::Get()->GetMountLibrary();
- chromeos::USBMountObserver* observe = chromeos::USBMountObserver::Get();
- lib->AddObserver(observe);
// Connect the chromeos notifications