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

Unified Diff: chrome/browser/extensions/api/push_messaging/push_messaging_api.cc

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/push_messaging/push_messaging_api.cc
diff --git a/chrome/browser/extensions/api/push_messaging/push_messaging_api.cc b/chrome/browser/extensions/api/push_messaging/push_messaging_api.cc
index 5ed1365b1c7f1e842d1aa75044941d3d775be6ef..5180d8581a450f66cba56c7b9dfc264f1304fdde 100644
--- a/chrome/browser/extensions/api/push_messaging/push_messaging_api.cc
+++ b/chrome/browser/extensions/api/push_messaging/push_messaging_api.cc
@@ -90,7 +90,7 @@ PushMessagingGetChannelIdFunction::PushMessagingGetChannelIdFunction()
PushMessagingGetChannelIdFunction::~PushMessagingGetChannelIdFunction() {}
-bool PushMessagingGetChannelIdFunction::RunImpl() {
+bool PushMessagingGetChannelIdFunction::RunAsync() {
// Fetch the function arguments.
scoped_ptr<glue::GetChannelId::Params> params(
glue::GetChannelId::Params::Create(*args_));
@@ -222,7 +222,7 @@ void PushMessagingGetChannelIdFunction::ReportResult(
timeout);
}
- // Balanced in RunImpl.
+ // Balanced in RunAsync.
Release();
}

Powered by Google App Engine
This is Rietveld 408576698