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

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

Issue 2365053002: Notify ServiceWorkerContextWatcher about routing ids of ServiceWorkerVersion and their updates. (Closed)
Patch Set: rebase, rename Created 4 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_context_watcher.h
diff --git a/content/browser/service_worker/service_worker_context_watcher.h b/content/browser/service_worker/service_worker_context_watcher.h
index d7341a51ad0cd0c27a868553e1f4d90730148fc3..61ce04a7b279766a75b699432289e27aaa2e4924 100644
--- a/content/browser/service_worker/service_worker_context_watcher.h
+++ b/content/browser/service_worker/service_worker_context_watcher.h
@@ -68,15 +68,16 @@ class ServiceWorkerContextWatcher
// ServiceWorkerContextObserver implements
void OnNewLiveRegistration(int64_t registration_id,
const GURL& pattern) override;
- void OnNewLiveVersion(int64_t version_id,
- int64_t registration_id,
- const GURL& script_url) override;
+ void OnNewLiveVersion(const ServiceWorkerVersionInfo& version_info) override;
void OnRunningStateChanged(
int64_t version_id,
content::EmbeddedWorkerStatus running_status) override;
void OnVersionStateChanged(
int64_t version_id,
content::ServiceWorkerVersion::Status status) override;
+ void OnVersionDevToolsRoutingIdChanged(int64_t version_id,
+ int process_id,
+ int devtools_agent_route_id) override;
void OnMainScriptHttpResponseInfoSet(
int64_t version_id,
base::Time script_response_time,

Powered by Google App Engine
This is Rietveld 408576698