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

Unified Diff: public/platform/WebServiceWorkerRegistration.h

Issue 1234603003: CallbackPromiseAdapter types should be more compatible with WebCallbacks (1/3). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: retry! 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 e73eb456d0bde48a42ae27ff924c35e8c7c5acab..0bf5cd19406418dc7d94059544c240cd4954e5b1 100644
--- a/public/platform/WebServiceWorkerRegistration.h
+++ b/public/platform/WebServiceWorkerRegistration.h
@@ -6,20 +6,20 @@
#define WebServiceWorkerRegistration_h
#include "public/platform/WebCallbacks.h"
+#include "public/platform/WebServiceWorkerError.h"
#include "public/platform/WebURL.h"
namespace blink {
class WebServiceWorkerProvider;
class WebServiceWorkerRegistrationProxy;
-struct WebServiceWorkerError;
class WebServiceWorkerRegistration {
public:
virtual ~WebServiceWorkerRegistration() { }
- using WebServiceWorkerUpdateCallbacks = WebCallbacks<void, WebServiceWorkerError*>;
- using WebServiceWorkerUnregistrationCallbacks = WebCallbacks<bool*, WebServiceWorkerError*>;
+ using WebServiceWorkerUpdateCallbacks = WebCallbacks<void, WebPassOwnPtr<WebServiceWorkerError>>;
+ using WebServiceWorkerUnregistrationCallbacks = WebCallbacks<bool*, WebPassOwnPtr<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