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

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

Issue 2039743003: Introduce ServiceWorker.ActivatedWorkerPreparationForMainFrame.Time UMA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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_info.cc
diff --git a/content/browser/service_worker/service_worker_info.cc b/content/browser/service_worker/service_worker_info.cc
index 0f4a4c5d9e7b6af8a5deae29cf224be0866c7ab8..47e0d139631ea63359217635da3fd3d23aa5d32c 100644
--- a/content/browser/service_worker/service_worker_info.cc
+++ b/content/browser/service_worker/service_worker_info.cc
@@ -4,6 +4,7 @@
#include "content/browser/service_worker/service_worker_info.h"
+#include "content/browser/service_worker/embedded_worker_status.h"
#include "content/common/service_worker/service_worker_types.h"
#include "content/public/common/child_process_host.h"
#include "ipc/ipc_message.h"
@@ -25,7 +26,7 @@ ServiceWorkerVersionInfo::ClientInfo::~ClientInfo() {
}
ServiceWorkerVersionInfo::ServiceWorkerVersionInfo()
- : running_status(ServiceWorkerVersion::STOPPED),
+ : running_status(EmbeddedWorkerStatus::STOPPED),
status(ServiceWorkerVersion::NEW),
registration_id(kInvalidServiceWorkerRegistrationId),
version_id(kInvalidServiceWorkerVersionId),
@@ -34,7 +35,7 @@ ServiceWorkerVersionInfo::ServiceWorkerVersionInfo()
devtools_agent_route_id(MSG_ROUTING_NONE) {}
ServiceWorkerVersionInfo::ServiceWorkerVersionInfo(
- ServiceWorkerVersion::RunningStatus running_status,
+ EmbeddedWorkerStatus running_status,
ServiceWorkerVersion::Status status,
const GURL& script_url,
int64_t registration_id,
« no previous file with comments | « content/browser/service_worker/service_worker_info.h ('k') | content/browser/service_worker/service_worker_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698