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

Unified Diff: chrome/browser/extensions/api/web_request/web_request_api.cc

Issue 252653002: Rename (Chrome)SyncExtensionFunction::RunImpl to RunSync so that the RunImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bookmarks 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/web_request/web_request_api.cc
diff --git a/chrome/browser/extensions/api/web_request/web_request_api.cc b/chrome/browser/extensions/api/web_request/web_request_api.cc
index 1f77903ca2d53d150625a92a0c851afd693e610c..1b4fe41695613846dce58ce6de17c05ef665c38b 100644
--- a/chrome/browser/extensions/api/web_request/web_request_api.cc
+++ b/chrome/browser/extensions/api/web_request/web_request_api.cc
@@ -2144,7 +2144,7 @@ void ClearCacheQuotaHeuristic::OnPageLoad(Bucket* bucket) {
bucket->DeductToken();
}
-bool WebRequestInternalAddEventListenerFunction::RunImpl() {
+bool WebRequestInternalAddEventListenerFunction::RunSync() {
// Argument 0 is the callback, which we don't use here.
ExtensionWebRequestEventRouter::RequestFilter filter;
base::DictionaryValue* value = NULL;
@@ -2240,7 +2240,7 @@ void WebRequestInternalEventHandledFunction::RespondWithError(
response.release());
}
-bool WebRequestInternalEventHandledFunction::RunImpl() {
+bool WebRequestInternalEventHandledFunction::RunSync() {
std::string event_name;
EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &event_name));
@@ -2420,7 +2420,7 @@ void WebRequestHandlerBehaviorChangedFunction::OnQuotaExceeded(
Run();
}
-bool WebRequestHandlerBehaviorChangedFunction::RunImpl() {
+bool WebRequestHandlerBehaviorChangedFunction::RunSync() {
helpers::ClearCacheOnNavigation();
return true;
}

Powered by Google App Engine
This is Rietveld 408576698