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

Unified Diff: content/browser/service_worker/service_worker_internals_ui.cc

Issue 2039743003: Introduce ServiceWorker.ActivatedWorkerPreparationForMainFrame.Time UMA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/service_worker_internals_ui.cc
diff --git a/content/browser/service_worker/service_worker_internals_ui.cc b/content/browser/service_worker/service_worker_internals_ui.cc
index 5b410efd7bfb05c2daad4dbd6a04f07ccab14b76..41e758bec1326053499076fa4a72fc7abfcd104e 100644
--- a/content/browser/service_worker/service_worker_internals_ui.cc
+++ b/content/browser/service_worker/service_worker_internals_ui.cc
@@ -113,16 +113,16 @@ base::ProcessId GetRealProcessId(int process_host_id) {
void UpdateVersionInfo(const ServiceWorkerVersionInfo& version,
DictionaryValue* info) {
switch (version.running_status) {
- case ServiceWorkerVersion::STOPPED:
+ case ServiceWorkerVersion::RunningStatus::STOPPED:
info->SetString("running_status", "STOPPED");
break;
- case ServiceWorkerVersion::STARTING:
+ case ServiceWorkerVersion::RunningStatus::STARTING:
info->SetString("running_status", "STARTING");
break;
- case ServiceWorkerVersion::RUNNING:
+ case ServiceWorkerVersion::RunningStatus::RUNNING:
info->SetString("running_status", "RUNNING");
break;
- case ServiceWorkerVersion::STOPPING:
+ case ServiceWorkerVersion::RunningStatus::STOPPING:
info->SetString("running_status", "STOPPING");
break;
}

Powered by Google App Engine
This is Rietveld 408576698