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

Unified Diff: Source/modules/serviceworkers/ServiceWorker.h

Issue 424693004: ServiceWorker: Add 'updatefound' and version attributes on SWRegistration (Blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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/modules/serviceworkers/ServiceWorker.h
diff --git a/Source/modules/serviceworkers/ServiceWorker.h b/Source/modules/serviceworkers/ServiceWorker.h
index c976bec53091f92445dfdaae1a2f2833ae66ff98..eefeaabccb64241cd5ee2cf3cc3d4c58fcafa16c 100644
--- a/Source/modules/serviceworkers/ServiceWorker.h
+++ b/Source/modules/serviceworkers/ServiceWorker.h
@@ -82,7 +82,7 @@ private:
ContextStopped
};
- static PassRefPtrWillBeRawPtr<ServiceWorker> create(ExecutionContext*, PassOwnPtr<blink::WebServiceWorker>);
+ static PassRefPtrWillBeRawPtr<ServiceWorker> createIfNeeded(ExecutionContext*, WebType*);
ServiceWorker(ExecutionContext*, PassOwnPtr<blink::WebServiceWorker>);
void setProxyState(ProxyState);
void onPromiseResolved();

Powered by Google App Engine
This is Rietveld 408576698