summaryrefslogtreecommitdiffstats
path: root/extensions/browser/api/async_api_function.h
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/browser/api/async_api_function.h')
-rw-r--r--extensions/browser/api/async_api_function.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/browser/api/async_api_function.h b/extensions/browser/api/async_api_function.h
index b18ec4d..dd586f1 100644
--- a/extensions/browser/api/async_api_function.h
+++ b/extensions/browser/api/async_api_function.h
@@ -12,7 +12,7 @@ namespace extensions {
// AsyncApiFunction provides convenient thread management for APIs that need to
// do essentially all their work on a thread other than the UI thread.
-class AsyncApiFunction : public UIThreadExtensionFunction {
+class AsyncApiFunction : public AsyncExtensionFunction {
protected:
AsyncApiFunction();
virtual ~AsyncApiFunction();
@@ -38,8 +38,8 @@ class AsyncApiFunction : public UIThreadExtensionFunction {
// Respond. Guaranteed to happen on UI thread.
virtual bool Respond() = 0;
- // ExtensionFunction::RunImpl()
- virtual bool RunImpl() OVERRIDE;
+ // ExtensionFunction::RunAsync()
+ virtual bool RunAsync() OVERRIDE;
protected:
content::BrowserThread::ID work_thread_id() const { return work_thread_id_; }