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

Unified Diff: public/platform/WebGeofencingProvider.h

Issue 1234603003: CallbackPromiseAdapter types should be more compatible with WebCallbacks (1/3). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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: public/platform/WebGeofencingProvider.h
diff --git a/public/platform/WebGeofencingProvider.h b/public/platform/WebGeofencingProvider.h
index 79ed9e12556b4c0381e73a6a889c079056001193..29dc06555fbe13bd8e2e96454199df91ba200a01 100644
--- a/public/platform/WebGeofencingProvider.h
+++ b/public/platform/WebGeofencingProvider.h
@@ -6,6 +6,7 @@
#define WebGeofencingProvider_h
#include "public/platform/WebCallbacks.h"
+#include "public/platform/WebPrivateOwnPtr.h"
#include "public/platform/WebVector.h"
namespace blink {
@@ -16,8 +17,8 @@ struct WebGeofencingRegistration;
class WebServiceWorkerRegistration;
class WebString;
-typedef WebCallbacks<void, WebGeofencingError*> WebGeofencingCallbacks;
-typedef WebCallbacks<WebVector<WebGeofencingRegistration>*, WebGeofencingError*> WebGeofencingRegionsCallbacks;
+using WebGeofencingCallbacks = WebCallbacks<void, WebPrivateOwnPtr<WebGeofencingError>&&>;
+using WebGeofencingRegionsCallbacks = WebCallbacks<WebPrivateOwnPtr<WebVector<WebGeofencingRegistration>>&&, WebPrivateOwnPtr<WebGeofencingError>&&>;
class WebGeofencingProvider {
public:

Powered by Google App Engine
This is Rietveld 408576698