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

Unified Diff: public/platform/WebServiceWorkerClientsInfo.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
Index: public/platform/WebServiceWorkerClientsInfo.h
diff --git a/public/platform/WebServiceWorkerClientsInfo.h b/public/platform/WebServiceWorkerClientsInfo.h
index e934d405ecb343d47a9306ea8fce980bd372ba2f..53dfa93a766eb10676ee90eace6c59f9ca3c272b 100644
--- a/public/platform/WebServiceWorkerClientsInfo.h
+++ b/public/platform/WebServiceWorkerClientsInfo.h
@@ -40,8 +40,8 @@ struct WebServiceWorkerClientsInfo {
};
// Two WebCallbacks, one for one client, one for a WebVector of clients.
-using WebServiceWorkerClientCallbacks = WebCallbacks<WebPassOwnPtr<WebServiceWorkerClientInfo>, WebPassOwnPtr<WebServiceWorkerError>>;
-using WebServiceWorkerClientsCallbacks = WebCallbacks<WebPassOwnPtr<WebServiceWorkerClientsInfo>, WebPassOwnPtr<WebServiceWorkerError>>;
+using WebServiceWorkerClientCallbacks = WebCallbacks<WebPassOwnPtr<WebServiceWorkerClientInfo>, const WebServiceWorkerError&>;
+using WebServiceWorkerClientsCallbacks = WebCallbacks<const WebServiceWorkerClientsInfo&, const 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