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

Unified Diff: public/platform/WebServiceWorkerRegistration.h

Issue 1240763002: CallbackPromiseAdapter types should be more compatible with WebCallbacks (3/3). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 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
« no previous file with comments | « public/platform/WebServiceWorkerClientsInfo.h ('k') | public/platform/modules/bluetooth/WebBluetooth.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebServiceWorkerRegistration.h
diff --git a/public/platform/WebServiceWorkerRegistration.h b/public/platform/WebServiceWorkerRegistration.h
index 0bf5cd19406418dc7d94059544c240cd4954e5b1..e835d8ab9290a4b4483a4ae508414951ad892157 100644
--- a/public/platform/WebServiceWorkerRegistration.h
+++ b/public/platform/WebServiceWorkerRegistration.h
@@ -18,8 +18,8 @@ class WebServiceWorkerRegistration {
public:
virtual ~WebServiceWorkerRegistration() { }
- using WebServiceWorkerUpdateCallbacks = WebCallbacks<void, WebPassOwnPtr<WebServiceWorkerError>>;
- using WebServiceWorkerUnregistrationCallbacks = WebCallbacks<bool*, WebPassOwnPtr<WebServiceWorkerError>>;
+ using WebServiceWorkerUpdateCallbacks = WebCallbacks<void, const WebServiceWorkerError&>;
+ using WebServiceWorkerUnregistrationCallbacks = WebCallbacks<bool, const WebServiceWorkerError&>;
virtual void setProxy(WebServiceWorkerRegistrationProxy*) { }
virtual WebServiceWorkerRegistrationProxy* proxy() { return nullptr; }
« no previous file with comments | « public/platform/WebServiceWorkerClientsInfo.h ('k') | public/platform/modules/bluetooth/WebBluetooth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698