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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_mount.h

Issue 23581006: Reland 220012: Move the functions of filebrowserPrivateApi from the file_manager namespace to the e… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: chrome/browser/chromeos/extensions/file_manager/private_api_mount.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_mount.h b/chrome/browser/chromeos/extensions/file_manager/private_api_mount.h
index a3913f7e0d4e0fb86afcdc7198772192159f61c8..0f48e9c1387aaa5defa08f9adfac625fe147627b 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_mount.h
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_mount.h
@@ -18,11 +18,11 @@ namespace ui {
struct SelectedFileInfo;
}
-namespace file_manager {
+namespace extensions {
// Implements chrome.fileBrowserPrivate.addMount method.
// Mounts a device or a file.
-class AddMountFunction : public LoggedAsyncExtensionFunction {
+class AddMountFunction : public file_manager::LoggedAsyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.addMount",
FILEBROWSERPRIVATE_ADDMOUNT)
@@ -45,7 +45,7 @@ class AddMountFunction : public LoggedAsyncExtensionFunction {
// Implements chrome.fileBrowserPrivate.removeMount method.
// Unmounts selected device. Expects mount point path as an argument.
-class RemoveMountFunction : public LoggedAsyncExtensionFunction {
+class RemoveMountFunction : public file_manager::LoggedAsyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.removeMount",
FILEBROWSERPRIVATE_REMOVEMOUNT)
@@ -65,7 +65,8 @@ class RemoveMountFunction : public LoggedAsyncExtensionFunction {
};
// Implements chrome.fileBrowserPrivate.getMountPoints method.
-class GetMountPointsFunction : public LoggedAsyncExtensionFunction {
+class GetMountPointsFunction
+ : public file_manager::LoggedAsyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.getMountPoints",
FILEBROWSERPRIVATE_GETMOUNTPOINTS)
@@ -79,6 +80,6 @@ class GetMountPointsFunction : public LoggedAsyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
};
-} // namespace file_manager
+} // namespace extensions
#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_

Powered by Google App Engine
This is Rietveld 408576698