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

Unified Diff: chrome/browser/storage_monitor/storage_monitor_chromeos.h

Issue 23727009: Cleanup: Remove chrome namespace for storage monitor and media galleries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit 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/storage_monitor/storage_monitor_chromeos.h
diff --git a/chrome/browser/storage_monitor/storage_monitor_chromeos.h b/chrome/browser/storage_monitor/storage_monitor_chromeos.h
index bd40f3e500936a67180a014192c184a3328c5b66..048a3aef162a585b2e5b1dca7313f724c4236a53 100644
--- a/chrome/browser/storage_monitor/storage_monitor_chromeos.h
+++ b/chrome/browser/storage_monitor/storage_monitor_chromeos.h
@@ -23,13 +23,11 @@
#include "chrome/browser/storage_monitor/storage_monitor.h"
#include "chromeos/disks/disk_mount_manager.h"
-namespace chrome {
class MediaTransferProtocolDeviceObserverLinux;
-}
namespace chromeos {
-class StorageMonitorCros : public chrome::StorageMonitor,
+class StorageMonitorCros : public StorageMonitor,
public disks::DiskMountManager::Observer {
public:
// Should only be called by browser start up code.
@@ -59,9 +57,8 @@ class StorageMonitorCros : public chrome::StorageMonitor,
const std::string& device_path) OVERRIDE;
// StorageMonitor implementation.
- virtual bool GetStorageInfoForPath(
- const base::FilePath& path,
- chrome::StorageInfo* device_info) const OVERRIDE;
+ virtual bool GetStorageInfoForPath(const base::FilePath& path,
+ StorageInfo* device_info) const OVERRIDE;
virtual void EjectDevice(
const std::string& device_id,
base::Callback<void(EjectStatus)> callback) OVERRIDE;
@@ -70,7 +67,7 @@ class StorageMonitorCros : public chrome::StorageMonitor,
private:
// Mapping of mount path to removable mass storage info.
- typedef std::map<std::string, chrome::StorageInfo> MountMap;
+ typedef std::map<std::string, StorageInfo> MountMap;
// Helper method that checks existing mount points to see if they are media
// devices. Eventually calls AddMountedPath for all mount points.
@@ -87,7 +84,7 @@ class StorageMonitorCros : public chrome::StorageMonitor,
scoped_ptr<device::MediaTransferProtocolManager>
media_transfer_protocol_manager_;
- scoped_ptr<chrome::MediaTransferProtocolDeviceObserverLinux>
+ scoped_ptr<MediaTransferProtocolDeviceObserverLinux>
media_transfer_protocol_device_observer_;
base::WeakPtrFactory<StorageMonitorCros> weak_ptr_factory_;
« no previous file with comments | « chrome/browser/storage_monitor/storage_monitor.cc ('k') | chrome/browser/storage_monitor/storage_monitor_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698