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

Unified Diff: public/platform/WebGeofencingProvider.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/WebCallbacks.h ('k') | public/platform/WebServiceWorkerCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebGeofencingProvider.h
diff --git a/public/platform/WebGeofencingProvider.h b/public/platform/WebGeofencingProvider.h
index 2b213df96db0de3a1813f48d7b7008c39802c297..576c721d5e8f827eb712515b614a44bd390cd09b 100644
--- a/public/platform/WebGeofencingProvider.h
+++ b/public/platform/WebGeofencingProvider.h
@@ -6,7 +6,6 @@
#define WebGeofencingProvider_h
#include "public/platform/WebCallbacks.h"
-#include "public/platform/WebPassOwnPtr.h"
#include "public/platform/WebVector.h"
namespace blink {
@@ -17,8 +16,8 @@ struct WebGeofencingRegistration;
class WebServiceWorkerRegistration;
class WebString;
-using WebGeofencingCallbacks = WebCallbacks<void, WebPassOwnPtr<WebGeofencingError>>;
-using WebGeofencingRegionsCallbacks = WebCallbacks<WebPassOwnPtr<WebVector<WebGeofencingRegistration>>, WebPassOwnPtr<WebGeofencingError>>;
+using WebGeofencingCallbacks = WebCallbacks<void, const WebGeofencingError&>;
+using WebGeofencingRegionsCallbacks = WebCallbacks<const WebVector<WebGeofencingRegistration>&, const WebGeofencingError&>;
class WebGeofencingProvider {
public:
« no previous file with comments | « public/platform/WebCallbacks.h ('k') | public/platform/WebServiceWorkerCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698