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

Unified Diff: content/browser/notifications/notification_message_filter.h

Issue 1942353002: (reland) Move permission.mojom from WebKit/public/platform/ to components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: content/browser/notifications/notification_message_filter.h
diff --git a/content/browser/notifications/notification_message_filter.h b/content/browser/notifications/notification_message_filter.h
index c8987b7983fa0de649c6a802a4ed57190e1fcef1..0b804ba61da3a28baf480b4cf493808486edd006 100644
--- a/content/browser/notifications/notification_message_filter.h
+++ b/content/browser/notifications/notification_message_filter.h
@@ -13,9 +13,9 @@
#include "base/callback_forward.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "components/permissions/permission_status.mojom.h"
#include "content/public/browser/browser_message_filter.h"
#include "content/public/browser/notification_database_data.h"
-#include "third_party/WebKit/public/platform/modules/permissions/permission_status.mojom.h"
class GURL;
@@ -55,7 +55,7 @@ class NotificationMessageFilter : public BrowserMessageFilter {
void OnCheckNotificationPermission(
const GURL& origin,
- blink::mojom::PermissionStatus* permission_status);
+ permissions::mojom::PermissionStatus* permission_status);
void OnShowPlatformNotification(
int notification_id,
const GURL& origin,
@@ -104,7 +104,7 @@ class NotificationMessageFilter : public BrowserMessageFilter {
// Returns the permission status for |origin|. Must only be used on the IO
// thread. If the PlatformNotificationService is unavailable, permission will
// assumed to be denied.
- blink::mojom::PermissionStatus GetPermissionForOriginOnIO(
+ permissions::mojom::PermissionStatus GetPermissionForOriginOnIO(
const GURL& origin) const;
// Verifies that Web Notification permission has been granted for |origin| in
« no previous file with comments | « content/browser/media/cdm/browser_cdm_manager.cc ('k') | content/browser/notifications/notification_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698