summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/extensions/file_system_provider/provider_function.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/extensions/file_system_provider/provider_function.h')
-rw-r--r--chrome/browser/chromeos/extensions/file_system_provider/provider_function.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/extensions/file_system_provider/provider_function.h b/chrome/browser/chromeos/extensions/file_system_provider/provider_function.h
index 10e8789..ed689c2c 100644
--- a/chrome/browser/chromeos/extensions/file_system_provider/provider_function.h
+++ b/chrome/browser/chromeos/extensions/file_system_provider/provider_function.h
@@ -68,10 +68,15 @@ class FileSystemProviderInternalFunction : public ChromeSyncExtensionFunction {
scoped_ptr<chromeos::file_system_provider::RequestValue> value,
bool has_next);
- // ChromeSyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ // Subclasses implement this for their functionality.
+ // Called after Parse() is successful, such that |request_id_| and
+ // |request_manager_| have been fully initialized.
+ virtual bool RunWhenValid() = 0;
private:
+ // ChromeSyncExtensionFunction overrides.
+ virtual bool RunSync() OVERRIDE;
+
// Parses the request in order to extract the request manager. If fails, then
// sets a response and returns false.
bool Parse();