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

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: use m_hasError in WaitUntilObserver 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
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeClientImpl.h ('k') | public/platform/WebServiceWorkerEventResult.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
diff --git a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
index 10b5cff59cf7575a133eb5fb2d86729c59e4e250..b17885bbacca5957f98e60a057e610dbc238a934 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, WebServiceWorkerEventResult result)
{
if (m_client)
- m_client->didHandleInstallEvent(installEventID);
+ m_client->didHandleInstallEvent(installEventID, result);
}
void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int fetchEventID, PassRefPtr<WebCore::Response> response)
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeClientImpl.h ('k') | public/platform/WebServiceWorkerEventResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698