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

Unified Diff: public/platform/modules/notifications/WebNotificationManager.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/modules/notifications/WebNotificationManager.h
diff --git a/public/platform/modules/notifications/WebNotificationManager.h b/public/platform/modules/notifications/WebNotificationManager.h
index ef80d507d2ae60c3927958b6e9235ed092afa5bf..69d1bfc8b5f22c45bf345319fadc002a92cd0bb7 100644
--- a/public/platform/modules/notifications/WebNotificationManager.h
+++ b/public/platform/modules/notifications/WebNotificationManager.h
@@ -6,7 +6,6 @@
#define WebNotificationManager_h
#include "public/platform/WebCallbacks.h"
-#include "public/platform/WebPassOwnPtr.h"
#include "public/platform/WebString.h"
#include "public/platform/WebVector.h"
#include "public/platform/modules/notifications/WebNotificationData.h"
@@ -25,7 +24,7 @@ struct WebPersistentNotificationInfo {
WebNotificationData data;
};
-using WebNotificationGetCallbacks = WebCallbacks<WebPassOwnPtr<WebVector<WebPersistentNotificationInfo>>, void>;
+using WebNotificationGetCallbacks = WebCallbacks<const WebVector<WebPersistentNotificationInfo>&, void>;
using WebNotificationShowCallbacks = WebCallbacks<void, void>;
// Provides the services to show platform notifications to the user.
« no previous file with comments | « public/platform/modules/bluetooth/WebBluetooth.h ('k') | public/platform/modules/presentation/WebPresentationClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698