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

Unified Diff: chromeos/disks/disk_mount_manager.h

Issue 10874067: chromeos: Move src/chrome/browser/chromeos/disks to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/disks/disk_mount_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/disks/disk_mount_manager.h
diff --git a/chrome/browser/chromeos/disks/disk_mount_manager.h b/chromeos/disks/disk_mount_manager.h
similarity index 94%
rename from chrome/browser/chromeos/disks/disk_mount_manager.h
rename to chromeos/disks/disk_mount_manager.h
index 546c4b752ec64a9d58efdb0a19905a15a1272c4b..dfe80c367f82101dcf22bf18b7b504f8423cf10f 100644
--- a/chrome/browser/chromeos/disks/disk_mount_manager.h
+++ b/chromeos/disks/disk_mount_manager.h
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_
-#define CHROME_BROWSER_CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_
+#ifndef CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_
+#define CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_
#include <map>
+#include "chromeos/chromeos_export.h"
#include "chromeos/dbus/cros_disks_client.h"
namespace chromeos {
@@ -35,7 +36,7 @@ enum MountCondition {
// This class handles the interaction with cros-disks.
// Other classes can add themselves as observers.
-class DiskMountManager {
+class CHROMEOS_EXPORT DiskMountManager {
public:
// Event type given to observers' MountCompleted method.
enum MountEvent {
@@ -217,10 +218,6 @@ class DiskMountManager {
// Unmounts a mounted disk.
virtual void UnmountPath(const std::string& mount_path) = 0;
- // Retrieves total and remaining available size on |mount_path|.
- virtual void GetSizeStatsOnFileThread(const std::string& mount_path,
- size_t* total_size_kb,
- size_t* remaining_size_kb) = 0;
// Formats device given its file path.
// Example: file_path: /dev/sdb1
virtual void FormatUnmountedDevice(const std::string& file_path) = 0;
@@ -267,4 +264,4 @@ class DiskMountManager {
} // namespace disks
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_
+#endif // CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/disks/disk_mount_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698