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

Unified Diff: content/browser/push_messaging/push_messaging_message_filter.cc

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/push_messaging/push_messaging_message_filter.cc
diff --git a/content/browser/push_messaging/push_messaging_message_filter.cc b/content/browser/push_messaging/push_messaging_message_filter.cc
index 107b06f337a52e97d5832841472045dc1bd46ddf..dac20c20ce0ce984d375410382bc59fc28a3ab34 100644
--- a/content/browser/push_messaging/push_messaging_message_filter.cc
+++ b/content/browser/push_messaging/push_messaging_message_filter.cc
@@ -150,8 +150,9 @@ class PushMessagingMessageFilter::Core {
// Private Register methods on UI thread -------------------------------------
- void DidRequestPermissionInIncognito(const RegisterData& data,
- blink::mojom::PermissionStatus status);
+ void DidRequestPermissionInIncognito(
+ const RegisterData& data,
+ permissions::mojom::PermissionStatus status);
void DidRegister(const RegisterData& data,
const std::string& push_registration_id,
@@ -468,10 +469,10 @@ void PushMessagingMessageFilter::Core::RegisterOnUI(
void PushMessagingMessageFilter::Core::DidRequestPermissionInIncognito(
const RegisterData& data,
- blink::mojom::PermissionStatus status) {
+ permissions::mojom::PermissionStatus status) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
// Notification permission should always be denied in incognito.
- DCHECK_EQ(blink::mojom::PermissionStatus::DENIED, status);
+ DCHECK_EQ(permissions::mojom::PermissionStatus::DENIED, status);
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
base::Bind(&PushMessagingMessageFilter::SendSubscriptionError, io_parent_,
« no previous file with comments | « content/browser/permissions/permission_service_impl.cc ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698