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

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

Issue 985663002: Implement ServiceWorkerRegistration related DevTools events [2/2 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: override Created 5 years, 9 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 dbc79bacac6096173b508a61301f028b41a128aa..145a2507c5fc93ac3677e843acfe61c633693772 100644
--- a/content/browser/service_worker/service_worker_context_observer.h
+++ b/content/browser/service_worker/service_worker_context_observer.h
@@ -43,12 +43,7 @@ class ServiceWorkerContextObserver {
const int line_number;
const GURL source_url;
};
- virtual void OnWorkerStarted(int64 version_id,
- int process_id,
- int thread_id) {}
- virtual void OnWorkerStopped(int64 version_id,
- int process_id,
- int thread_id) {}
+ virtual void OnRunningStateChanged(int64 version_id) {}
virtual void OnVersionStateChanged(int64 version_id) {}
virtual void OnErrorReported(int64 version_id,
int process_id,
@@ -58,7 +53,8 @@ class ServiceWorkerContextObserver {
int process_id,
int thread_id,
const ConsoleMessage& message) {}
- virtual void OnRegistrationStored(const GURL& pattern) {}
+ virtual void OnRegistrationStored(int64 registration_id,
+ const GURL& pattern) {}
virtual void OnRegistrationDeleted(int64 registration_id,
const GURL& pattern) {}

Powered by Google App Engine
This is Rietveld 408576698