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

Unified Diff: public/platform/WebServiceWorkerCache.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/WebGeofencingProvider.h ('k') | public/platform/WebServiceWorkerClientsClaimCallbacks.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebServiceWorkerCache.h
diff --git a/public/platform/WebServiceWorkerCache.h b/public/platform/WebServiceWorkerCache.h
index 1d8a0c6e2cf23001af8cba1120afdc99406d353a..85f75e8a25533e449e6d6b20701a7c50cdda5511 100644
--- a/public/platform/WebServiceWorkerCache.h
+++ b/public/platform/WebServiceWorkerCache.h
@@ -7,6 +7,7 @@
#include "public/platform/WebCallbacks.h"
#include "public/platform/WebCommon.h"
+#include "public/platform/WebPassOwnPtr.h"
#include "public/platform/WebServiceWorkerCacheError.h"
#include "public/platform/WebServiceWorkerRequest.h"
#include "public/platform/WebServiceWorkerResponse.h"
@@ -23,7 +24,7 @@ public:
using CacheMatchCallbacks = WebCallbacks<WebServiceWorkerResponse*, WebServiceWorkerCacheError*>;
using CacheWithResponsesCallbacks = WebCallbacks<WebVector<WebServiceWorkerResponse>*, WebServiceWorkerCacheError*>;
using CacheWithRequestsCallbacks = WebCallbacks<WebVector<WebServiceWorkerRequest>*, WebServiceWorkerCacheError*>;
- using CacheBatchCallbacks = WebCallbacks<void, WebServiceWorkerCacheError*>;
+ using CacheBatchCallbacks = WebCallbacks<void, WebPassOwnPtr<WebServiceWorkerCacheError>>;
virtual ~WebServiceWorkerCache() { }
« no previous file with comments | « public/platform/WebGeofencingProvider.h ('k') | public/platform/WebServiceWorkerClientsClaimCallbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698