summaryrefslogtreecommitdiff
path: root/chromium/content/browser/service_worker/service_worker_context_watcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/service_worker/service_worker_context_watcher.h')
-rw-r--r--chromium/content/browser/service_worker/service_worker_context_watcher.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/chromium/content/browser/service_worker/service_worker_context_watcher.h b/chromium/content/browser/service_worker/service_worker_context_watcher.h
index e921b80c5b2..bb05c084962 100644
--- a/chromium/content/browser/service_worker/service_worker_context_watcher.h
+++ b/chromium/content/browser/service_worker/service_worker_context_watcher.h
@@ -84,8 +84,13 @@ class CONTENT_EXPORT ServiceWorkerContextWatcher
void OnNewLiveRegistration(int64_t registration_id,
const GURL& scope) override;
void OnNewLiveVersion(const ServiceWorkerVersionInfo& version_info) override;
- void OnRunningStateChanged(int64_t version_id,
- EmbeddedWorkerStatus running_status) override;
+ void OnStarting(int64_t version_id) override;
+ void OnStarted(int64_t version_id,
+ const GURL& scope,
+ int process_id,
+ const GURL& script_url) override;
+ void OnStopping(int64_t version_id) override;
+ void OnStopped(int64_t version_id) override;
void OnVersionStateChanged(int64_t version_id,
const GURL& scope,
ServiceWorkerVersion::Status status) override;
@@ -112,6 +117,9 @@ class CONTENT_EXPORT ServiceWorkerContextWatcher
void OnRegistrationDeleted(int64_t registration_id,
const GURL& scope) override;
+ void OnRunningStateChanged(int64_t version_id,
+ EmbeddedWorkerStatus running_status);
+
std::unordered_map<int64_t, std::unique_ptr<ServiceWorkerVersionInfo>>
version_info_map_;
scoped_refptr<ServiceWorkerContextWrapper> context_;