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

Unified Diff: content/shell/browser/layout_test/layout_test_push_messaging_service.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_push_messaging_service.cc
diff --git a/content/shell/browser/layout_test/layout_test_push_messaging_service.cc b/content/shell/browser/layout_test/layout_test_push_messaging_service.cc
index 9b83add41da1175c2bec707609f5a79d19cfb00d..e4a9e680157d9405b044d3179c40a605e03a6c4f 100644
--- a/content/shell/browser/layout_test/layout_test_push_messaging_service.cc
+++ b/content/shell/browser/layout_test/layout_test_push_messaging_service.cc
@@ -40,11 +40,11 @@ static_assert(sizeof(kAuthentication) == 12,
blink::WebPushPermissionStatus ToWebPushPermissionStatus(
PermissionStatus status) {
switch (status) {
- case PERMISSION_STATUS_GRANTED:
+ case PermissionStatus::GRANTED:
return blink::WebPushPermissionStatusGranted;
- case PERMISSION_STATUS_DENIED:
+ case PermissionStatus::DENIED:
return blink::WebPushPermissionStatusDenied;
- case PERMISSION_STATUS_ASK:
+ case PermissionStatus::ASK:
return blink::WebPushPermissionStatusPrompt;
}
« no previous file with comments | « content/shell/browser/layout_test/layout_test_permission_manager.cc ('k') | content/shell/browser/shell_permission_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698