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

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

Issue 23715003: Files.app: Rename the FileBrowserPrivateAPI's functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed the comments. 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_misc.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
index 1e2733a7762cf62d779bb234fef6679c22c63599..942fa346d7aaa8f95d1be9132749c9c856899ad6 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
@@ -14,15 +14,15 @@
namespace extensions {
// Implements the chrome.fileBrowserPrivate.logoutUser method.
-class LogoutUserFunction : public SyncExtensionFunction {
+class FileBrowserPrivateLogoutUserFunction : public SyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.logoutUser",
FILEBROWSERPRIVATE_LOGOUTUSER)
- LogoutUserFunction();
+ FileBrowserPrivateLogoutUserFunction();
protected:
- virtual ~LogoutUserFunction();
+ virtual ~FileBrowserPrivateLogoutUserFunction();
// SyncExtensionFunction overrides.
virtual bool RunImpl() OVERRIDE;
@@ -30,46 +30,47 @@ class LogoutUserFunction : public SyncExtensionFunction {
// Implements the chrome.fileBrowserPrivate.getPreferences method.
// Gets settings for Files.app.
-class GetPreferencesFunction : public SyncExtensionFunction {
+class FileBrowserPrivateGetPreferencesFunction : public SyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.getPreferences",
FILEBROWSERPRIVATE_GETPREFERENCES)
- GetPreferencesFunction();
+ FileBrowserPrivateGetPreferencesFunction();
protected:
- virtual ~GetPreferencesFunction();
+ virtual ~FileBrowserPrivateGetPreferencesFunction();
virtual bool RunImpl() OVERRIDE;
};
// Implements the chrome.fileBrowserPrivate.setPreferences method.
// Sets settings for Files.app.
-class SetPreferencesFunction : public SyncExtensionFunction {
+class FileBrowserPrivateSetPreferencesFunction : public SyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.setPreferences",
FILEBROWSERPRIVATE_SETPREFERENCES)
- SetPreferencesFunction();
+ FileBrowserPrivateSetPreferencesFunction();
protected:
- virtual ~SetPreferencesFunction();
+ virtual ~FileBrowserPrivateSetPreferencesFunction();
virtual bool RunImpl() OVERRIDE;
};
// Implements the chrome.fileBrowserPrivate.zipSelection method.
// Creates a zip file for the selected files.
-class ZipSelectionFunction : public LoggedAsyncExtensionFunction,
- public file_manager::ZipFileCreator::Observer {
+class FileBrowserPrivateZipSelectionFunction
+ : public LoggedAsyncExtensionFunction,
+ public file_manager::ZipFileCreator::Observer {
public:
DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.zipSelection",
FILEBROWSERPRIVATE_ZIPSELECTION)
- ZipSelectionFunction();
+ FileBrowserPrivateZipSelectionFunction();
protected:
- virtual ~ZipSelectionFunction();
+ virtual ~FileBrowserPrivateZipSelectionFunction();
// AsyncExtensionFunction overrides.
virtual bool RunImpl() OVERRIDE;
@@ -85,15 +86,15 @@ class ZipSelectionFunction : public LoggedAsyncExtensionFunction,
// Changes the zoom level of the file manager by internally calling
// RenderViewHost::Zoom(). TODO(hirono): Remove this function once the zoom
// level change is supported for all apps. crbug.com/227175.
-class ZoomFunction : public SyncExtensionFunction {
+class FileBrowserPrivateZoomFunction : public SyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.zoom",
FILEBROWSERPRIVATE_ZOOM);
- ZoomFunction();
+ FileBrowserPrivateZoomFunction();
protected:
- virtual ~ZoomFunction();
+ virtual ~FileBrowserPrivateZoomFunction();
virtual bool RunImpl() OVERRIDE;
};

Powered by Google App Engine
This is Rietveld 408576698