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 d6f4a595860947468cc2635c909e9fe5c6b6f231..c0885c20fbcf703c63a1ace7fdd3fe681212194b 100644 |
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h |
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h |
@@ -160,6 +160,21 @@ class FileBrowserPrivateVisitDesktopFunction |
virtual bool RunSync() OVERRIDE; |
}; |
+// Implements the chrome.fileBrowserPrivate.openInspector method. |
+// As inspection is for developers, this method doesn't have any effect if the |
+// flag 'debug-packed-apps' is not enabled. |
+class FileBrowserPrivateOpenInspectorFunction |
+ : public ChromeSyncExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.openInspector", |
+ FILEBROWSERPRIVATE_OPENINSPECTOR); |
+ |
+ protected: |
+ virtual ~FileBrowserPrivateOpenInspectorFunction() {} |
+ |
+ virtual bool RunSync() OVERRIDE; |
+}; |
+ |
} // namespace extensions |
#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ |