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

Unified Diff: content/browser/service_worker/service_worker_dispatcher_host.h

Issue 261533003: Populate .current when navigator.serviceWorker is accessed (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/browser/service_worker/service_worker_dispatcher_host.h
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.h b/content/browser/service_worker/service_worker_dispatcher_host.h
index 97b50bdc6f7066770209783a6292b0e85b005e84..b7a991bf6297d9f222c6690c7bf8f6e6a3636994 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host.h
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h
@@ -67,8 +67,6 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter {
const GURL& pattern);
void OnProviderCreated(int provider_id);
void OnProviderDestroyed(int provider_id);
- void OnAddScriptClient(int thread_id, int provider_id);
- void OnRemoveScriptClient(int thread_id, int provider_id);
void OnSetHostedVersionId(int provider_id, int64 version_id);
void OnWorkerStarted(int thread_id,
int embedded_worker_id);
@@ -84,7 +82,8 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter {
void OnPostMessage(int handle_id,
const base::string16& message,
const std::vector<int>& sent_message_port_ids);
- void OnServiceWorkerObjectDestroyed(int handle_id);
+ void OnIncrementServiceWorkerRefCount(int handle_id);
+ void OnDecrementServiceWorkerRefCount(int handle_id);
// Callbacks from ServiceWorkerContextCore
void RegistrationComplete(int thread_id,

Powered by Google App Engine
This is Rietveld 408576698