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

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

Issue 550863003: Rename fileBrowserPrivate to fileManagerPrivate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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_file_system.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h b/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h
index 27375e2752ebb30c7bd5702d79b3fbf7c31df9da..2048f536ad69974d8e0fcb288c1c5045cdbd2594 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h
@@ -31,15 +31,15 @@ typedef std::vector<EntryDefinition> EntryDefinitionList;
namespace extensions {
-// Implements the chrome.fileBrowserPrivate.requestFileSystem method.
-class FileBrowserPrivateRequestFileSystemFunction
+// Implements the chrome.fileManagerPrivate.requestFileSystem method.
+class FileManagerPrivateRequestFileSystemFunction
: public LoggedAsyncExtensionFunction {
public:
- DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.requestFileSystem",
- FILEBROWSERPRIVATE_REQUESTFILESYSTEM)
+ DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.requestFileSystem",
+ FILEMANAGERPRIVATE_REQUESTFILESYSTEM)
protected:
- virtual ~FileBrowserPrivateRequestFileSystemFunction() {}
+ virtual ~FileManagerPrivateRequestFileSystemFunction() {}
// AsyncExtensionFunction overrides.
virtual bool RunAsync() OVERRIDE;
@@ -66,8 +66,8 @@ class FileBrowserPrivateRequestFileSystemFunction
const file_manager::util::EntryDefinition& entry_definition);
};
-// Base class for FileBrowserPrivateAddFileWatchFunction and
-// FileBrowserPrivateRemoveFileWatchFunction. Although it's called "FileWatch",
+// Base class for FileManagerPrivateAddFileWatchFunction and
+// FileManagerPrivateRemoveFileWatchFunction. Although it's called "FileWatch",
// the class and its sub classes are used only for watching changes in
// directories.
class FileWatchFunctionBase : public LoggedAsyncExtensionFunction {
@@ -87,15 +87,15 @@ class FileWatchFunctionBase : public LoggedAsyncExtensionFunction {
void Respond(bool success);
};
-// Implements the chrome.fileBrowserPrivate.addFileWatch method.
+// Implements the chrome.fileManagerPrivate.addFileWatch method.
// Starts watching changes in directories.
-class FileBrowserPrivateAddFileWatchFunction : public FileWatchFunctionBase {
+class FileManagerPrivateAddFileWatchFunction : public FileWatchFunctionBase {
public:
- DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.addFileWatch",
- FILEBROWSERPRIVATE_ADDFILEWATCH)
+ DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.addFileWatch",
+ FILEMANAGERPRIVATE_ADDFILEWATCH)
protected:
- virtual ~FileBrowserPrivateAddFileWatchFunction() {}
+ virtual ~FileManagerPrivateAddFileWatchFunction() {}
// FileWatchFunctionBase override.
virtual void PerformFileWatchOperation(
@@ -105,15 +105,15 @@ class FileBrowserPrivateAddFileWatchFunction : public FileWatchFunctionBase {
};
-// Implements the chrome.fileBrowserPrivate.removeFileWatch method.
+// Implements the chrome.fileManagerPrivate.removeFileWatch method.
// Stops watching changes in directories.
-class FileBrowserPrivateRemoveFileWatchFunction : public FileWatchFunctionBase {
+class FileManagerPrivateRemoveFileWatchFunction : public FileWatchFunctionBase {
public:
- DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.removeFileWatch",
- FILEBROWSERPRIVATE_REMOVEFILEWATCH)
+ DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.removeFileWatch",
+ FILEMANAGERPRIVATE_REMOVEFILEWATCH)
protected:
- virtual ~FileBrowserPrivateRemoveFileWatchFunction() {}
+ virtual ~FileManagerPrivateRemoveFileWatchFunction() {}
// FileWatchFunctionBase override.
virtual void PerformFileWatchOperation(
@@ -122,15 +122,15 @@ class FileBrowserPrivateRemoveFileWatchFunction : public FileWatchFunctionBase {
const std::string& extension_id) OVERRIDE;
};
-// Implements the chrome.fileBrowserPrivate.getSizeStats method.
-class FileBrowserPrivateGetSizeStatsFunction
+// Implements the chrome.fileManagerPrivate.getSizeStats method.
+class FileManagerPrivateGetSizeStatsFunction
: public LoggedAsyncExtensionFunction {
public:
- DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.getSizeStats",
- FILEBROWSERPRIVATE_GETSIZESTATS)
+ DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.getSizeStats",
+ FILEMANAGERPRIVATE_GETSIZESTATS)
protected:
- virtual ~FileBrowserPrivateGetSizeStatsFunction() {}
+ virtual ~FileManagerPrivateGetSizeStatsFunction() {}
// AsyncExtensionFunction overrides.
virtual bool RunAsync() OVERRIDE;
@@ -144,15 +144,15 @@ class FileBrowserPrivateGetSizeStatsFunction
const uint64* remaining_size);
};
-// Implements the chrome.fileBrowserPrivate.validatePathNameLength method.
-class FileBrowserPrivateValidatePathNameLengthFunction
+// Implements the chrome.fileManagerPrivate.validatePathNameLength method.
+class FileManagerPrivateValidatePathNameLengthFunction
: public LoggedAsyncExtensionFunction {
public:
- DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.validatePathNameLength",
- FILEBROWSERPRIVATE_VALIDATEPATHNAMELENGTH)
+ DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.validatePathNameLength",
+ FILEMANAGERPRIVATE_VALIDATEPATHNAMELENGTH)
protected:
- virtual ~FileBrowserPrivateValidatePathNameLengthFunction() {}
+ virtual ~FileManagerPrivateValidatePathNameLengthFunction() {}
void OnFilePathLimitRetrieved(size_t current_length, size_t max_length);
@@ -160,30 +160,30 @@ class FileBrowserPrivateValidatePathNameLengthFunction
virtual bool RunAsync() OVERRIDE;
};
-// Implements the chrome.fileBrowserPrivate.formatVolume method.
+// Implements the chrome.fileManagerPrivate.formatVolume method.
// Formats Volume given its mount path.
-class FileBrowserPrivateFormatVolumeFunction
+class FileManagerPrivateFormatVolumeFunction
: public LoggedAsyncExtensionFunction {
public:
- DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.formatVolume",
- FILEBROWSERPRIVATE_FORMATVOLUME)
+ DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.formatVolume",
+ FILEMANAGERPRIVATE_FORMATVOLUME)
protected:
- virtual ~FileBrowserPrivateFormatVolumeFunction() {}
+ virtual ~FileManagerPrivateFormatVolumeFunction() {}
// AsyncExtensionFunction overrides.
virtual bool RunAsync() OVERRIDE;
};
-// Implements the chrome.fileBrowserPrivate.startCopy method.
-class FileBrowserPrivateStartCopyFunction
+// Implements the chrome.fileManagerPrivate.startCopy method.
+class FileManagerPrivateStartCopyFunction
: public LoggedAsyncExtensionFunction {
public:
- DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.startCopy",
- FILEBROWSERPRIVATE_STARTCOPY)
+ DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.startCopy",
+ FILEMANAGERPRIVATE_STARTCOPY)
protected:
- virtual ~FileBrowserPrivateStartCopyFunction() {}
+ virtual ~FileManagerPrivateStartCopyFunction() {}
// AsyncExtensionFunction overrides.
virtual bool RunAsync() OVERRIDE;
@@ -193,31 +193,31 @@ class FileBrowserPrivateStartCopyFunction
void RunAfterStartCopy(int operation_id);
};
-// Implements the chrome.fileBrowserPrivate.cancelCopy method.
-class FileBrowserPrivateCancelCopyFunction
+// Implements the chrome.fileManagerPrivate.cancelCopy method.
+class FileManagerPrivateCancelCopyFunction
: public LoggedAsyncExtensionFunction {
public:
- DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.cancelCopy",
- FILEBROWSERPRIVATE_CANCELCOPY)
+ DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.cancelCopy",
+ FILEMANAGERPRIVATE_CANCELCOPY)
protected:
- virtual ~FileBrowserPrivateCancelCopyFunction() {}
+ virtual ~FileManagerPrivateCancelCopyFunction() {}
// AsyncExtensionFunction overrides.
virtual bool RunAsync() OVERRIDE;
};
-// Implements the chrome.fileBrowserPrivateInternal.resolveIsolatedEntries
+// Implements the chrome.fileManagerPrivateInternal.resolveIsolatedEntries
// method.
-class FileBrowserPrivateInternalResolveIsolatedEntriesFunction
+class FileManagerPrivateInternalResolveIsolatedEntriesFunction
: public ChromeAsyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION(
- "fileBrowserPrivateInternal.resolveIsolatedEntries",
- FILEBROWSERPRIVATE_RESOLVEISOLATEDENTRIES)
+ "fileManagerPrivateInternal.resolveIsolatedEntries",
+ FILEMANAGERPRIVATE_RESOLVEISOLATEDENTRIES)
protected:
- virtual ~FileBrowserPrivateInternalResolveIsolatedEntriesFunction() {}
+ virtual ~FileManagerPrivateInternalResolveIsolatedEntriesFunction() {}
// AsyncExtensionFunction overrides.
virtual bool RunAsync() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698