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

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: 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..ebb41cc5c22a3091a88730e909e0cd50b9d0dd95 100644
--- a/content/browser/service_worker/service_worker_context_observer.h
+++ b/content/browser/service_worker/service_worker_context_observer.h
@@ -14,6 +14,8 @@
namespace content {
+enum class EmbeddedWorkerStatus;
+
class ServiceWorkerContextObserver {
public:
struct ErrorInfo {
@@ -52,9 +54,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