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

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

Issue 2039743003: Introduce ServiceWorker.ActivatedWorkerPreparationForMainFrame.Time UMA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated falken's comment 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_context_observer.h
diff --git a/content/browser/service_worker/service_worker_context_observer.h b/content/browser/service_worker/service_worker_context_observer.h
index b643153f951a84b204010ec7d0a819a4a0055503..b532b1e8b275b385513af8c040393ebc4f146b07 100644
--- a/content/browser/service_worker/service_worker_context_observer.h
+++ b/content/browser/service_worker/service_worker_context_observer.h
@@ -9,6 +9,7 @@
#include "base/strings/string16.h"
#include "base/time/time.h"
+#include "content/browser/service_worker/embedded_worker_status.h"
#include "content/browser/service_worker/service_worker_version.h"
#include "url/gurl.h"
@@ -52,9 +53,8 @@ class ServiceWorkerContextObserver {
virtual void OnNewLiveVersion(int64_t version_id,
int64_t registration_id,
const GURL& script_url) {}
- virtual void OnRunningStateChanged(
- int64_t version_id,
- ServiceWorkerVersion::RunningStatus running_status) {}
+ virtual void OnRunningStateChanged(int64_t version_id,
+ EmbeddedWorkerStatus running_status) {}
virtual void OnVersionStateChanged(int64_t version_id,
ServiceWorkerVersion::Status status) {}
virtual void OnMainScriptHttpResponseInfoSet(

Powered by Google App Engine
This is Rietveld 408576698