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

Unified Diff: content/shell/browser/layout_test/layout_test_notification_manager.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/shell/browser/layout_test/layout_test_notification_manager.cc
diff --git a/content/shell/browser/layout_test/layout_test_notification_manager.cc b/content/shell/browser/layout_test/layout_test_notification_manager.cc
index 701b24b9fb6be227118e9e0cb4d2aac1f7b83c99..1ddb3a4fe4f6a9b0ef09fe6a7eac4b4ddc02aa99 100644
--- a/content/shell/browser/layout_test/layout_test_notification_manager.cc
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.cc
@@ -24,13 +24,13 @@ namespace {
void OnEventDispatchComplete(PersistentNotificationStatus status) {}
blink::WebNotificationPermission ToWebNotificationPermission(
- PermissionStatus status) {
+ blink::mojom::PermissionStatus status) {
switch (status) {
- case PermissionStatus::GRANTED:
+ case blink::mojom::PermissionStatus::GRANTED:
return blink::WebNotificationPermissionAllowed;
- case PermissionStatus::DENIED:
+ case blink::mojom::PermissionStatus::DENIED:
return blink::WebNotificationPermissionDenied;
- case PermissionStatus::ASK:
+ case blink::mojom::PermissionStatus::ASK:
return blink::WebNotificationPermissionDefault;
}

Powered by Google App Engine
This is Rietveld 408576698