Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc

Issue 23477070: Move OnFileSystemMounted/BeingUnmounted to VolumeManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc
index b022cd0e61a10be2832810aea71b314ce1d2ad8a..a4ebf30d55be1138028c1ec651cd683a36c5143d 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc
@@ -86,8 +86,7 @@ bool FileBrowserPrivateAddMountFunction::RunImpl() {
if (mount_type == "drive") {
// Dispatch fake 'mounted' event because JS code depends on it.
// TODO(hashimoto): Remove this redanduncy.
- file_manager::FileBrowserPrivateAPI::Get(profile_)->event_router()->
- OnFileSystemMounted();
+ file_manager::VolumeManager::Get(profile_)->OnFileSystemMounted();
// Pass back the drive mount point path as source path.
const std::string& drive_path =
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager/event_router.cc ('k') | chrome/browser/chromeos/file_manager/volume_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698