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

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

Issue 2746783002: [ServiceWorker] Mojofy InstallEvent of Service Worker (Closed)
Patch Set: Rebase Created 3 years, 8 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_version.h
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
index 7419d1174e8343a3d5db22c7a801518a379d1f78..8f32737e5d04f6931733f1d0a7d202554927d9bd 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -264,6 +264,9 @@ class CONTENT_EXPORT ServiceWorkerVersion
bool was_handled,
base::Time dispatch_event_time);
+ void RegisterForeignFetchScopes(const std::vector<GURL>& sub_scopes,
+ const std::vector<url::Origin>& origins);
+
// Finishes an external request that was started by StartExternalRequest().
// Returns false if there was an error finishing the request: e.g. the request
// was not found or the worker already terminated.
@@ -616,9 +619,6 @@ class CONTENT_EXPORT ServiceWorkerVersion
void OnFocusClientFinished(int request_id,
const ServiceWorkerClientInfo& client_info);
- void OnRegisterForeignFetchScopes(const std::vector<GURL>& sub_scopes,
- const std::vector<url::Origin>& origins);
-
void DidEnsureLiveRegistrationForStartWorker(
ServiceWorkerMetrics::EventType purpose,
Status prestart_status,

Powered by Google App Engine
This is Rietveld 408576698