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

Unified Diff: chrome/browser/extensions/extension_file_browser_private_api.h

Issue 8497007: Switch from MountLibrary to CrosDisksLibrary (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: NEW! Created 9 years, 1 month 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/extensions/extension_file_browser_private_api.h
diff --git a/chrome/browser/extensions/extension_file_browser_private_api.h b/chrome/browser/extensions/extension_file_browser_private_api.h
index 28e96f4b6539da8649f039b25d88b48d17e8de17..d979c62260e5f956e7ef91fd3da256017687ca6e 100644
--- a/chrome/browser/extensions/extension_file_browser_private_api.h
+++ b/chrome/browser/extensions/extension_file_browser_private_api.h
@@ -17,7 +17,7 @@
#include "webkit/fileapi/file_system_callback_dispatcher.h"
#ifdef OS_CHROMEOS
-#include "chrome/browser/chromeos/cros/mount_library.h"
+#include "chrome/browser/chromeos/disks/disk_mount_manager.h"
#endif
class GURL;
@@ -233,17 +233,6 @@ class AddMountFunction
void* context) OVERRIDE;
private:
-#if defined(OS_CHROMEOS)
- struct MountParamaters {
- MountParamaters(const std::string& type,
- const chromeos::MountPathOptions& options)
- : mount_type(type), mount_options(options) {}
- ~MountParamaters() {}
- std::string mount_type;
- chromeos::MountPathOptions mount_options;
- };
-#endif
-
DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.addMount");
};
@@ -312,10 +301,10 @@ class GetSizeStatsFunction
void* context) OVERRIDE;
private:
- void GetSizeStatsCallbackOnUIThread(const char* mount_path,
+ void GetSizeStatsCallbackOnUIThread(const std::string& mount_path,
size_t total_size_kb,
size_t remaining_size_kb);
- void CallGetSizeStatsOnFileThread(const char* mount_path);
+ void CallGetSizeStatsOnFileThread(const std::string& mount_path);
DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getSizeStats");
};

Powered by Google App Engine
This is Rietveld 408576698