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

Unified Diff: content/child/service_worker/service_worker_network_provider.h

Issue 193723003: Identify service worker version at main resource load time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/service_worker/service_worker_network_provider.h
diff --git a/content/child/service_worker/service_worker_network_provider.h b/content/child/service_worker/service_worker_network_provider.h
index f4186fe883af93cd9e1966c6616aa3700cdd2b66..400918f969d96ea9c7050eb9f03ee94a8e215527 100644
--- a/content/child/service_worker/service_worker_network_provider.h
+++ b/content/child/service_worker/service_worker_network_provider.h
@@ -38,6 +38,11 @@ class CONTENT_EXPORT ServiceWorkerNetworkProvider
int provider_id() const { return provider_id_; }
+ // This method is called for a provider that's associated with a
+ // running service worker script. The version_id indicates which
+ // ServiceWorkerVersion should be used.
+ void SetServiceWorkerVersionId(int64 version_id);
+
private:
const int provider_id_;
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerNetworkProvider);

Powered by Google App Engine
This is Rietveld 408576698