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

Unified Diff: content/browser/service_worker/

Issue 2039743003: Introduce ServiceWorker.ActivatedWorkerPreparationForMainFrame.Time UMA. (Closed) Base URL:
Patch Set: move GetWorkerPreparationSuffix 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/
diff --git a/content/browser/service_worker/ b/content/browser/service_worker/
index 21e0ddf6239ab50140f37c2ac4180f613cd2beca..027490202cd3defd42cbad3fdad2bc3e825c9951 100644
--- a/content/browser/service_worker/
+++ b/content/browser/service_worker/
@@ -192,7 +192,8 @@ bool ServiceWorkerProviderHost::SetHostedVersion(
if (active_version())
return false; // Unexpected bad message.
- DCHECK_EQ(ServiceWorkerVersion::STARTING, version->running_status());
+ DCHECK_EQ(ServiceWorkerVersion::RunningStatus::STARTING,
+ version->running_status());
if (version->embedded_worker()->process_id() != render_process_id_) {
// If we aren't trying to start this version in our process
// something is amiss.

Powered by Google App Engine
This is Rietveld 408576698