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

Unified Diff: content/browser/devtools/protocol/service_worker_handler.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/devtools/protocol/service_worker_handler.cc
diff --git a/content/browser/devtools/protocol/service_worker_handler.cc b/content/browser/devtools/protocol/service_worker_handler.cc
index e008b685875e55800eb00e814119f6635e1d6cd0..a587741af0e3c7e4d1b0928054cd52d4c25597d2 100644
--- a/content/browser/devtools/protocol/service_worker_handler.cc
+++ b/content/browser/devtools/protocol/service_worker_handler.cc
@@ -64,13 +64,13 @@ void PushDeliveryNoOp(PushDeliveryStatus status) {
const std::string GetVersionRunningStatusString(
content::ServiceWorkerVersion::RunningStatus running_status) {
switch (running_status) {
- case content::ServiceWorkerVersion::STOPPED:
+ case content::ServiceWorkerVersion::RunningStatus::STOPPED:
return kServiceWorkerVersionRunningStatusStopped;
- case content::ServiceWorkerVersion::STARTING:
+ case content::ServiceWorkerVersion::RunningStatus::STARTING:
return kServiceWorkerVersionRunningStatusStarting;
- case content::ServiceWorkerVersion::RUNNING:
+ case content::ServiceWorkerVersion::RunningStatus::RUNNING:
return kServiceWorkerVersionRunningStatusRunning;
- case content::ServiceWorkerVersion::STOPPING:
+ case content::ServiceWorkerVersion::RunningStatus::STOPPING:
return kServiceWorkerVersionRunningStatusStopping;
}
return std::string();

Powered by Google App Engine
This is Rietveld 408576698