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

Unified Diff: content/child/background_sync/background_sync_provider_thread_proxy.cc

Issue 1317813003: Revert of [Background Sync] Allow sync manager access from uncontrolled clients (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/child/background_sync/background_sync_provider_thread_proxy.cc
diff --git a/content/child/background_sync/background_sync_provider_thread_proxy.cc b/content/child/background_sync/background_sync_provider_thread_proxy.cc
index af0e78656d7b27081f43ca735abb1d622ea6822c..a5ecf2f8b9513ee02e9a6e7f65f90b40cd385c25 100644
--- a/content/child/background_sync/background_sync_provider_thread_proxy.cc
+++ b/content/child/background_sync/background_sync_provider_thread_proxy.cc
@@ -101,7 +101,6 @@
void BackgroundSyncProviderThreadProxy::registerBackgroundSync(
const blink::WebSyncRegistration* options,
blink::WebServiceWorkerRegistration* service_worker_registration,
- bool requested_from_service_worker,
blink::WebSyncRegistrationCallbacks* callbacks) {
DCHECK(options);
DCHECK(service_worker_registration);
@@ -110,7 +109,7 @@
FROM_HERE,
base::Bind(&BackgroundSyncProvider::registerBackgroundSync,
base::Unretained(sync_provider_), options,
- service_worker_registration, requested_from_service_worker,
+ service_worker_registration,
new CallbackThreadAdapter<blink::WebSyncRegistrationCallbacks>(
make_scoped_ptr(callbacks),
WorkerTaskRunner::Instance()->CurrentWorkerId())));
« no previous file with comments | « content/child/background_sync/background_sync_provider_thread_proxy.h ('k') | content/common/background_sync_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698