Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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

Issue 2039743003: Introduce ServiceWorker.ActivatedWorkerPreparationForMainFrame.Time UMA. (Closed) Base URL:
Patch Set: Created 4 years, 6 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 aae387d6a9cf339936494ac3c79ad1ee8ce1d059..d7341a51ad0cd0c27a868553e1f4d90730148fc3 100644
--- a/content/browser/service_worker/service_worker_context_watcher.h
+++ b/content/browser/service_worker/service_worker_context_watcher.h
@@ -17,6 +17,7 @@
namespace content {
class ServiceWorkerContextWrapper;
+enum class EmbeddedWorkerStatus;
// Used to monitor the status change of the ServiceWorker registrations and
// versions in the ServiceWorkerContext from UI thread.
@@ -72,7 +73,7 @@ class ServiceWorkerContextWatcher
const GURL& script_url) override;
void OnRunningStateChanged(
int64_t version_id,
- content::ServiceWorkerVersion::RunningStatus running_status) override;
+ content::EmbeddedWorkerStatus running_status) override;
void OnVersionStateChanged(
int64_t version_id,
content::ServiceWorkerVersion::Status status) override;

Powered by Google App Engine
This is Rietveld 408576698