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

Unified Diff: chrome/browser/extensions/api/notifications/notifications_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/notifications/notifications_api.h
diff --git a/chrome/browser/extensions/api/notifications/notifications_api.h b/chrome/browser/extensions/api/notifications/notifications_api.h
index 02fee4bfb5489e3acfe791524a993b2dc75c3fb7..bd1b511c6012ccacc094b9bc60fca9eefbe4016f 100644
--- a/chrome/browser/extensions/api/notifications/notifications_api.h
+++ b/chrome/browser/extensions/api/notifications/notifications_api.h
@@ -41,11 +41,11 @@ class NotificationsApiFunction : public ChromeAsyncExtensionFunction {
// notifications for a notifier have been disabled.
virtual bool CanRunWhileDisabled() const;
- // Called inside of RunImpl.
+ // Called inside of RunAsync.
virtual bool RunNotificationsApi() = 0;
// UITHreadExtensionFunction:
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
message_center::NotificationType MapApiTemplateTypeToType(
api::notifications::TemplateType type);

Powered by Google App Engine
This is Rietveld 408576698