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

Unified Diff: chrome/browser/chromeos/extensions/file_browser_event_router.cc

Issue 10008100: gdata: Support mouting archive file in GData cache (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: gdata: Support mounting archive files under GData cache Created 8 years, 8 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_browser_event_router.cc
diff --git a/chrome/browser/chromeos/extensions/file_browser_event_router.cc b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
index 87c9dfae8948d849bafcb61420cb0f547c7c6f7d..911aac65ee9570c37bd9f8cba3d7fa9e231d4a78 100644
--- a/chrome/browser/chromeos/extensions/file_browser_event_router.cc
+++ b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
@@ -416,7 +416,7 @@ void FileBrowserEventRouter::OnDiskAdded(
if (disk->mount_path().empty() && disk->has_media()) {
// Initiate disk mount operation.
DiskMountManager::GetInstance()->MountPath(
- disk->device_path(), chromeos::MOUNT_TYPE_DEVICE);
+ disk->device_path(), std::string(), chromeos::MOUNT_TYPE_DEVICE);
Ben Chan 2012/04/17 20:57:53 nit: perhaps add a comment here to indicate that i
} else {
// Either the disk was mounted or it has no media. In both cases we don't
// want the Scanning notification to persist.
@@ -483,7 +483,7 @@ void FileBrowserEventRouter::OnFormattingFinished(
notifications_->HideNotificationDelayed(
FileBrowserNotifications::FORMAT_SUCCESS, device_path, 4000);
- DiskMountManager::GetInstance()->MountPath(device_path,
+ DiskMountManager::GetInstance()->MountPath(device_path, std::string(),
Ben Chan 2012/04/17 20:57:53 ditto
chromeos::MOUNT_TYPE_DEVICE);
} else {
notifications_->HideNotification(FileBrowserNotifications::FORMAT_START,

Powered by Google App Engine
This is Rietveld 408576698