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

Unified Diff: chrome/browser/chromeos/disks/disk_mount_manager.cc

Issue 10231010: gdata: Apply correct mount label when mounting archives in GData (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase 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/disks/disk_mount_manager.cc
diff --git a/chrome/browser/chromeos/disks/disk_mount_manager.cc b/chrome/browser/chromeos/disks/disk_mount_manager.cc
index 55530541d0d2ca9d1c483e95f55f9c5c384244ea..0234b1612057217d8f0ba5e8c497c7e3f1222c77 100644
--- a/chrome/browser/chromeos/disks/disk_mount_manager.cc
+++ b/chrome/browser/chromeos/disks/disk_mount_manager.cc
@@ -59,6 +59,7 @@ class DiskMountManagerImpl : public DiskMountManager {
// DiskMountManager override.
virtual void MountPath(const std::string& source_path,
const std::string& source_format,
+ const std::string& mount_label,
MountType type) OVERRIDE {
// Hidden and non-existent devices should not be mounted.
if (type == MOUNT_TYPE_DEVICE) {
@@ -72,6 +73,7 @@ class DiskMountManagerImpl : public DiskMountManager {
cros_disks_client_->Mount(
source_path,
source_format,
+ mount_label,
type,
// When succeeds, OnMountCompleted will be called by
// "MountCompleted" signal instead.
« no previous file with comments | « chrome/browser/chromeos/disks/disk_mount_manager.h ('k') | chrome/browser/chromeos/disks/mock_disk_mount_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698