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

Unified Diff: content/shell/browser/layout_test/layout_test_notification_manager.cc

Issue 1373883003: Move geolocation and permission mojoms into components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 3a0433b380db744a5acc548df565a4bda247303f..fa453178ca553301f2769358b140057d6e6bce05 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) {
+ permission::Status status) {
switch (status) {
- case PERMISSION_STATUS_GRANTED:
+ case permission::STATUS_GRANTED:
return blink::WebNotificationPermissionAllowed;
- case PERMISSION_STATUS_DENIED:
+ case permission::STATUS_DENIED:
return blink::WebNotificationPermissionDenied;
- case PERMISSION_STATUS_ASK:
+ case permission::STATUS_ASK:
return blink::WebNotificationPermissionDefault;
}

Powered by Google App Engine
This is Rietveld 408576698