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

Unified Diff: public/platform/WebServiceWorkerClientsInfo.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
Index: public/platform/WebServiceWorkerClientsInfo.h
diff --git a/public/platform/WebServiceWorkerClientsInfo.h b/public/platform/WebServiceWorkerClientsInfo.h
index 35906b941d53b72cae6353dddcbf968c02b2daaf..e934d405ecb343d47a9306ea8fce980bd372ba2f 100644
--- a/public/platform/WebServiceWorkerClientsInfo.h
+++ b/public/platform/WebServiceWorkerClientsInfo.h
@@ -7,6 +7,7 @@
#include "public/platform/WebCallbacks.h"
#include "public/platform/WebPageVisibilityState.h"
+#include "public/platform/WebPassOwnPtr.h"
#include "public/platform/WebServiceWorkerClientType.h"
#include "public/platform/WebURL.h"
#include "public/platform/WebURLRequest.h"
@@ -39,8 +40,8 @@ struct WebServiceWorkerClientsInfo {
};
// Two WebCallbacks, one for one client, one for a WebVector of clients.
-typedef WebCallbacks<WebServiceWorkerClientInfo*, WebServiceWorkerError*> WebServiceWorkerClientCallbacks;
-typedef WebCallbacks<WebServiceWorkerClientsInfo*, WebServiceWorkerError*> WebServiceWorkerClientsCallbacks;
+using WebServiceWorkerClientCallbacks = WebCallbacks<WebPassOwnPtr<WebServiceWorkerClientInfo>, WebPassOwnPtr<WebServiceWorkerError>>;
+using WebServiceWorkerClientsCallbacks = WebCallbacks<WebPassOwnPtr<WebServiceWorkerClientsInfo>, WebPassOwnPtr<WebServiceWorkerError>>;
} // namespace blink
« no previous file with comments | « public/platform/WebServiceWorkerClientsClaimCallbacks.h ('k') | public/platform/WebServiceWorkerRegistration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698