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

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

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 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 82cc07df3232a4b5e2a970097cee7f626ae50777..9380238e89f5bf8c5feecb3695a01fed93879805 100644
--- a/content/shell/browser/layout_test/layout_test_notification_manager.cc
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.cc
@@ -26,11 +26,11 @@ void OnEventDispatchComplete(PersistentNotificationStatus status) {}
blink::WebNotificationPermission ToWebNotificationPermission(
PermissionStatus status) {
switch (status) {
- case PERMISSION_STATUS_GRANTED:
+ case PermissionStatus::GRANTED:
return blink::WebNotificationPermissionAllowed;
- case PERMISSION_STATUS_DENIED:
+ case PermissionStatus::DENIED:
return blink::WebNotificationPermissionDenied;
- case PERMISSION_STATUS_ASK:
+ case PermissionStatus::ASK:
return blink::WebNotificationPermissionDefault;
}
« no previous file with comments | « content/renderer/usb/web_usb_device_impl.cc ('k') | content/shell/browser/layout_test/layout_test_permission_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698