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

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp

Issue 2746783002: [ServiceWorker] Mojofy InstallEvent of Service Worker (Closed)
Patch Set: Fix the test failure 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: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
index 36f288c29ea8ebcfd4b4901ebfe6e4a07cfaf0d6..5c111e5a2d27d02aa2ba2e9bf3d58dcd54fb534a 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
@@ -240,9 +240,10 @@ void ServiceWorkerGlobalScopeClientImpl::Navigate(
}
void ServiceWorkerGlobalScopeClientImpl::RegisterForeignFetchScopes(
+ int event_id,
horo 2017/04/27 09:22:21 nit: install_event_id
xiaofengzhang 2017/04/28 07:14:24 Done.
const WebVector<WebURL>& sub_scopes,
const WebVector<WebSecurityOrigin>& origins) {
- client_.RegisterForeignFetchScopes(sub_scopes, origins);
+ client_.RegisterForeignFetchScopes(event_id, sub_scopes, origins);
}
ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(

Powered by Google App Engine
This is Rietveld 408576698