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

Unified Diff: content/browser/service_worker/service_worker_register_job.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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: content/browser/service_worker/service_worker_register_job.cc
diff --git a/content/browser/service_worker/service_worker_register_job.cc b/content/browser/service_worker/service_worker_register_job.cc
index d5765009e7a0b0bde7cb6a2581f30fac65ae655d..5755d622bf053600a17286407b7aa5bd296069b2 100644
--- a/content/browser/service_worker/service_worker_register_job.cc
+++ b/content/browser/service_worker/service_worker_register_job.cc
@@ -59,7 +59,7 @@ class InstallEventMethodsReceiver
DISALLOW_COPY_AND_ASSIGN(InstallEventMethodsReceiver);
};
-void RunSoon(const base::Closure& closure) {
+void RunSoonFunctionCopy18(const base::Closure& closure) {
base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, closure);
}
@@ -116,7 +116,7 @@ void ServiceWorkerRegisterJob::AddCallback(
provider_host->AddScopedProcessReferenceToPattern(pattern_);
return;
}
- RunSoon(base::Bind(callback, promise_resolved_status_,
+ RunSoonFunctionCopy18(base::Bind(callback, promise_resolved_status_,
promise_resolved_status_message_,
base::RetainedRef(promise_resolved_registration_)));
}
@@ -145,7 +145,7 @@ void ServiceWorkerRegisterJob::StartImpl() {
scoped_refptr<ServiceWorkerRegistration> registration =
context_->storage()->GetUninstallingRegistration(pattern_);
if (registration.get())
- RunSoon(base::Bind(next_step, SERVICE_WORKER_OK, registration));
+ RunSoonFunctionCopy18(base::Bind(next_step, SERVICE_WORKER_OK, registration));
else
context_->storage()->FindRegistrationForPattern(pattern_, next_step);
}

Powered by Google App Engine
This is Rietveld 408576698