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

Unified Diff: content/public/browser/platform_notification_service.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
« no previous file with comments | « content/public/browser/permission_manager.h ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/platform_notification_service.h
diff --git a/content/public/browser/platform_notification_service.h b/content/public/browser/platform_notification_service.h
index ba70b331a8f89a23fe79e07fe9c41c424c8a35b0..5abfb092cc315d1496ec0582aa0b049aee71b3ec 100644
--- a/content/public/browser/platform_notification_service.h
+++ b/content/public/browser/platform_notification_service.h
@@ -13,8 +13,8 @@
#include <vector>
#include "base/callback_forward.h"
+#include "components/permissions/permission_status.mojom.h"
#include "content/common/content_export.h"
-#include "third_party/WebKit/public/platform/modules/permissions/permission_status.mojom.h"
class GURL;
@@ -35,7 +35,7 @@ class CONTENT_EXPORT PlatformNotificationService {
// Checks if |origin| has permission to display Web Notifications.
// This method must only be called on the UI thread.
- virtual blink::mojom::PermissionStatus CheckPermissionOnUIThread(
+ virtual permissions::mojom::PermissionStatus CheckPermissionOnUIThread(
BrowserContext* browser_context,
const GURL& origin,
int render_process_id) = 0;
@@ -45,7 +45,7 @@ class CONTENT_EXPORT PlatformNotificationService {
// JavaScript getter, and should not be used for other purposes. See
// https://crbug.com/446497 for the plan to deprecate this method.
// This method must only be called on the IO thread.
- virtual blink::mojom::PermissionStatus CheckPermissionOnIOThread(
+ virtual permissions::mojom::PermissionStatus CheckPermissionOnIOThread(
ResourceContext* resource_context,
const GURL& origin,
int render_process_id) = 0;
« no previous file with comments | « content/public/browser/permission_manager.h ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698