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

Unified Diff: content/public/browser/service_worker_context.h

Issue 252893006: Remove the unused source_process_id and provider_host arguments to SW unregistration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: content/public/browser/service_worker_context.h
diff --git a/content/public/browser/service_worker_context.h b/content/public/browser/service_worker_context.h
index 91be6eb3972c7edba4ca85751aa0b2a2fd758452..dd770785a71bf1cffa2930edbf0025b05af583fe 100644
--- a/content/public/browser/service_worker_context.h
+++ b/content/public/browser/service_worker_context.h
@@ -39,15 +39,14 @@ class ServiceWorkerContext {
const ResultCallback& callback) = 0;
// Equivalent to calling navigator.serviceWorker.unregister(pattern) from a
- // renderer in |source_process_id|, except that |pattern| is an absolute URL
- // instead of relative to some current origin. |callback| is passed true
- // when the JS promise is fulfilled or false when the JS promise is rejected.
+ // renderer, except that |pattern| is an absolute URL instead of relative to
+ // some current origin. |callback| is passed true when the JS promise is
+ // fulfilled or false when the JS promise is rejected.
//
// Unregistration can fail if:
// * No Service Worker was registered for |pattern|.
// * Something unexpected goes wrong, like a renderer crash.
virtual void UnregisterServiceWorker(const Scope& pattern,
- int source_process_id,
const ResultCallback& callback) = 0;
// TODO(jyasskin): Provide a way to SendMessage to a Scope.

Powered by Google App Engine
This is Rietveld 408576698