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

Unified Diff: chrome/browser/extensions/api/declarative/declarative_api.h

Issue 257333002: Drive extension functions from ExtensionFunction::Run. The (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 6 years, 8 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
Index: chrome/browser/extensions/api/declarative/declarative_api.h
diff --git a/chrome/browser/extensions/api/declarative/declarative_api.h b/chrome/browser/extensions/api/declarative/declarative_api.h
index f740a3e9b70640e5d3f551b70fc2e65a66bc1d73..502e2fa49eba2525006b933f8d4e3f32ddd59fa6 100644
--- a/chrome/browser/extensions/api/declarative/declarative_api.h
+++ b/chrome/browser/extensions/api/declarative/declarative_api.h
@@ -21,12 +21,12 @@ class RulesFunction : public ChromeAsyncExtensionFunction {
// ExtensionFunction:
virtual bool HasPermission() OVERRIDE;
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
// Concrete implementation of the RulesFunction that is being called
// on the thread on which the respective RulesRegistry lives.
// Returns false in case of errors.
- virtual bool RunImplOnCorrectThread() = 0;
+ virtual bool RunAsyncOnCorrectThread() = 0;
scoped_refptr<RulesRegistry> rules_registry_;
};
@@ -39,7 +39,7 @@ class EventsEventAddRulesFunction : public RulesFunction {
virtual ~EventsEventAddRulesFunction() {}
// RulesFunction:
- virtual bool RunImplOnCorrectThread() OVERRIDE;
+ virtual bool RunAsyncOnCorrectThread() OVERRIDE;
};
class EventsEventRemoveRulesFunction : public RulesFunction {
@@ -50,7 +50,7 @@ class EventsEventRemoveRulesFunction : public RulesFunction {
virtual ~EventsEventRemoveRulesFunction() {}
// RulesFunction:
- virtual bool RunImplOnCorrectThread() OVERRIDE;
+ virtual bool RunAsyncOnCorrectThread() OVERRIDE;
};
class EventsEventGetRulesFunction : public RulesFunction {
@@ -61,7 +61,7 @@ class EventsEventGetRulesFunction : public RulesFunction {
virtual ~EventsEventGetRulesFunction() {}
// RulesFunction:
- virtual bool RunImplOnCorrectThread() OVERRIDE;
+ virtual bool RunAsyncOnCorrectThread() OVERRIDE;
};
} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/api/debugger/debugger_api.cc ('k') | chrome/browser/extensions/api/declarative/declarative_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698