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

Unified Diff: content/renderer/notification_permission_dispatcher.h

Issue 1373883003: Move geolocation and permission mojoms into components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « content/renderer/media/midi_dispatcher.cc ('k') | content/renderer/notification_permission_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/notification_permission_dispatcher.h
diff --git a/content/renderer/notification_permission_dispatcher.h b/content/renderer/notification_permission_dispatcher.h
index 5c32693b18a7295e3a1fb12cbd14f7b3b9efddcd..15929720ba5bcc0561ec1ffffadd2f7045f89c13 100644
--- a/content/renderer/notification_permission_dispatcher.h
+++ b/content/renderer/notification_permission_dispatcher.h
@@ -6,7 +6,7 @@
#define CONTENT_RENDERER_NOTIFICATION_PERMISSION_DISPATCHER_H_
#include "base/id_map.h"
-#include "content/common/permission_service.mojom.h"
+#include "components/permission/public/interfaces/permission.mojom.h"
#include "content/public/renderer/render_frame_observer.h"
namespace blink {
@@ -30,15 +30,14 @@ class NotificationPermissionDispatcher : public RenderFrameObserver {
blink::WebNotificationPermissionCallback* callback);
private:
- void OnPermissionRequestComplete(
- int request_id, PermissionStatus status);
+ void OnPermissionRequestComplete(int request_id, permission::Status status);
// Tracks the active notification permission requests. This class takes
// ownership of the created WebNotificationPermissionCallback objects.
IDMap<blink::WebNotificationPermissionCallback, IDMapOwnPointer>
pending_requests_;
- PermissionServicePtr permission_service_;
+ permission::PermissionServicePtr permission_service_;
DISALLOW_COPY_AND_ASSIGN(NotificationPermissionDispatcher);
};
« no previous file with comments | « content/renderer/media/midi_dispatcher.cc ('k') | content/renderer/notification_permission_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698