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

Unified Diff: Source/web/ServiceWorkerGlobalScopeClientImpl.cpp

Issue 210833004: Inform the client when the Service Worker rejects an install event (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
diff --git a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
index 10b5cff59cf7575a133eb5fb2d86729c59e4e250..ae07673c0e610ab11a0fd82a41d257f4b7f7bfba 100644
--- a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
+++ b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
@@ -48,10 +48,10 @@ ServiceWorkerGlobalScopeClientImpl::~ServiceWorkerGlobalScopeClientImpl()
{
}
-void ServiceWorkerGlobalScopeClientImpl::didHandleInstallEvent(int installEventID)
+void ServiceWorkerGlobalScopeClientImpl::didHandleInstallEvent(int installEventID, bool rejected)
{
if (m_client)
- m_client->didHandleInstallEvent(installEventID);
+ m_client->didHandleInstallEvent(installEventID, rejected);
}
void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int fetchEventID, PassRefPtr<WebCore::Response> response)

Powered by Google App Engine
This is Rietveld 408576698