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

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

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.h
diff --git a/content/browser/service_worker/service_worker_info.h b/content/browser/service_worker/service_worker_info.h
index 8de17feaa24dc28d2b187f0c608ae0b9c22a7d9c..e27087803405b86ac04aee18dacf6ccbc6229265 100644
--- a/content/browser/service_worker/service_worker_info.h
+++ b/content/browser/service_worker/service_worker_info.h
@@ -16,6 +16,8 @@
namespace content {
+enum class EmbeddedWorkerStatus;
+
struct CONTENT_EXPORT ServiceWorkerVersionInfo {
public:
struct CONTENT_EXPORT ClientInfo {
@@ -29,7 +31,7 @@ struct CONTENT_EXPORT ServiceWorkerVersionInfo {
};
ServiceWorkerVersionInfo();
- ServiceWorkerVersionInfo(ServiceWorkerVersion::RunningStatus running_status,
+ ServiceWorkerVersionInfo(EmbeddedWorkerStatus running_status,
ServiceWorkerVersion::Status status,
const GURL& script_url,
int64_t registration_id,
@@ -40,7 +42,7 @@ struct CONTENT_EXPORT ServiceWorkerVersionInfo {
ServiceWorkerVersionInfo(const ServiceWorkerVersionInfo& other);
~ServiceWorkerVersionInfo();
- ServiceWorkerVersion::RunningStatus running_status;
+ EmbeddedWorkerStatus running_status;
ServiceWorkerVersion::Status status;
GURL script_url;
int64_t registration_id;

Powered by Google App Engine
This is Rietveld 408576698