Index: chrome/browser/chromeos/extensions/file_browser_private_api.h |
diff --git a/chrome/browser/chromeos/extensions/file_browser_private_api.h b/chrome/browser/chromeos/extensions/file_browser_private_api.h |
index e25289447324faf03dfe105fe0b15700b80b8d74..f1a38fd1390228b0432f2f5481a3cec9a50ae217 100644 |
--- a/chrome/browser/chromeos/extensions/file_browser_private_api.h |
+++ b/chrome/browser/chromeos/extensions/file_browser_private_api.h |
@@ -113,6 +113,19 @@ class ExecuteTasksFileBrowserFunction : public AsyncExtensionFunction { |
DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.executeTask"); |
}; |
+// Implements the chrome.fileBrowserPrivate.setDefaultTask method. |
+class SetDefaultTaskFileBrowserFunction : public SyncExtensionFunction { |
+ public: |
+ SetDefaultTaskFileBrowserFunction(); |
+ virtual ~SetDefaultTaskFileBrowserFunction(); |
+ |
+ protected: |
+ // AsyncExtensionFunction overrides. |
+ virtual bool RunImpl() OVERRIDE; |
+ |
+ DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.setDefaultTask"); |
+}; |
+ |
// Parent class for the chromium extension APIs for the file dialog. |
class FileBrowserFunction |
: public AsyncExtensionFunction { |