| 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;
|
| };
|
|
|
|
|