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

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

Issue 1771743002: Move geolocation and permission mojoms into WebKit/public/platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 093400854fe0515a5980c3546a4da03fa4a491ea..30c8452414fffcfb10931f1e3ecca0a9d526a0d0 100644
--- a/content/browser/push_messaging/push_messaging_message_filter.cc
+++ b/content/browser/push_messaging/push_messaging_message_filter.cc
@@ -150,7 +150,7 @@ class PushMessagingMessageFilter::Core {
// Private Register methods on UI thread -------------------------------------
void DidRequestPermissionInIncognito(const RegisterData& data,
- mojom::PermissionStatus status);
+ blink::mojom::PermissionStatus status);
void DidRegister(const RegisterData& data,
const std::string& push_registration_id,
@@ -459,10 +459,10 @@ void PushMessagingMessageFilter::Core::RegisterOnUI(
void PushMessagingMessageFilter::Core::DidRequestPermissionInIncognito(
const RegisterData& data,
- mojom::PermissionStatus status) {
+ blink::mojom::PermissionStatus status) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
// Notification permission should always be denied in incognito.
- DCHECK_EQ(mojom::PermissionStatus::DENIED, status);
+ DCHECK_EQ(blink::mojom::PermissionStatus::DENIED, status);
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
base::Bind(&PushMessagingMessageFilter::SendSubscriptionError, io_parent_,

Powered by Google App Engine
This is Rietveld 408576698