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

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

Issue 1026733003: Files.app: Add private API to check if PiexLoader is enabled or not. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Turn RunSync into Run. Created 5 years, 9 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 9661195f8a475b9d9af98bdecd0d089686ee019d..c6d7cbbba64838789a4383c4b0a79e737a2e4189 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
@@ -181,6 +181,21 @@ class FileManagerPrivateGetMimeTypeFunction
void OnGetMimeType(const std::string& mimeType);
};
+// Implements the chrome.fileManagerPrivate.isPiexLoaderEnabled method.
+class FileManagerPrivateIsPiexLoaderEnabledFunction
+ : public UIThreadExtensionFunction {
+ public:
+ FileManagerPrivateIsPiexLoaderEnabledFunction() {}
+ DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.isPiexLoaderEnabled",
+ FILEMANAGERPRIVATE_ISPIEXLOADERENABLED)
+ protected:
+ ~FileManagerPrivateIsPiexLoaderEnabledFunction() override {}
+
+ private:
+ ResponseAction Run() override;
+ DISALLOW_COPY_AND_ASSIGN(FileManagerPrivateIsPiexLoaderEnabledFunction);
+};
+
} // namespace extensions
#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_
« 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