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

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

Issue 1142593002: Generalize volume configuration over all volumes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the configure test. Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c744bf43711073c88a8c6c8270b8e86fb8a27e5e..e68128091f705ad61014ef3a5e3609b86ec0ed2d 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
@@ -225,23 +225,22 @@ class FileManagerPrivateAddProvidedFileSystemFunction
DISALLOW_COPY_AND_ASSIGN(FileManagerPrivateAddProvidedFileSystemFunction);
};
-// Implements the chrome.fileManagerPrivate.addProvidedFileSystem method.
-class FileManagerPrivateConfigureProvidedFileSystemFunction
+// Implements the chrome.fileManagerPrivate.configureVolume method.
+class FileManagerPrivateConfigureVolumeFunction
: public UIThreadExtensionFunction {
public:
- FileManagerPrivateConfigureProvidedFileSystemFunction();
- DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.configureProvidedFileSystem",
- FILEMANAGERPRIVATE_CONFIGUREPROVIDEDFILESYSTEM)
+ FileManagerPrivateConfigureVolumeFunction();
+ DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.configureVolume",
+ FILEMANAGERPRIVATE_CONFIGUREVOLUME)
protected:
- ~FileManagerPrivateConfigureProvidedFileSystemFunction() override {}
+ ~FileManagerPrivateConfigureVolumeFunction() override {}
private:
ResponseAction Run() override;
void OnCompleted(base::File::Error result);
const ChromeExtensionFunctionDetails chrome_details_;
- DISALLOW_COPY_AND_ASSIGN(
- FileManagerPrivateConfigureProvidedFileSystemFunction);
+ DISALLOW_COPY_AND_ASSIGN(FileManagerPrivateConfigureVolumeFunction);
};
} // namespace extensions
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698