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

Unified Diff: content/common/platform_notification_messages.h

Issue 758603002: Use Mojo Permission Service when requesting Notifications permission. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission_geolocation_follow_up
Patch Set: fixes to pass tests Created 6 years, 1 month 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 | « content/common/permission_service.mojom ('k') | content/renderer/notification_permission_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/platform_notification_messages.h
diff --git a/content/common/platform_notification_messages.h b/content/common/platform_notification_messages.h
index 077e3148bb5190c3acb1dc2e8a983ce6769abd3e..6b9caf5b4f4102929308d60c77fcaad4ecdc12ed 100644
--- a/content/common/platform_notification_messages.h
+++ b/content/common/platform_notification_messages.h
@@ -8,7 +8,6 @@
#include "content/public/common/show_desktop_notification_params.h"
#include "ipc/ipc_message_macros.h"
#include "third_party/WebKit/public/platform/WebNotificationPermission.h"
-#include "url/gurl.h"
#define IPC_MESSAGE_START PlatformNotificationMsgStart
@@ -26,12 +25,6 @@ IPC_STRUCT_TRAITS_END()
// Messages sent from the browser to the renderer.
-// Informs the renderer that the permission request for |request_id| is done,
-// and has been settled with |result|.
-IPC_MESSAGE_ROUTED2(PlatformNotificationMsg_PermissionRequestComplete,
- int /* request_id */,
- blink::WebNotificationPermission /* result */)
-
// Informs the renderer that the browser has displayed the notification.
IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidShow,
int /* notification_id */)
@@ -46,11 +39,6 @@ IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidClick,
// Messages sent from the renderer to the browser.
-// Requests permission to display platform notifications for |origin|.
-IPC_MESSAGE_ROUTED2(PlatformNotificationHostMsg_RequestPermission,
- GURL /* origin */,
- int /* request_id */)
-
IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_Show,
int /* notification_id */,
content::ShowDesktopNotificationHostMsgParams /* params */)
« no previous file with comments | « content/common/permission_service.mojom ('k') | content/renderer/notification_permission_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698