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

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

Issue 1093923005: Swap hasPermission with permissionState in browser_tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « content/browser/push_messaging/push_messaging_message_filter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b3a255b2f4fb33848846faca2f55392a55551d92..5f0b0ec6edbce31b8cc541a36ddfa100da77c796 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
@@ -23,7 +23,7 @@ blink::WebPushPermissionStatus ToWebPushPermissionStatus(
case PERMISSION_STATUS_DENIED:
return blink::WebPushPermissionStatusDenied;
case PERMISSION_STATUS_ASK:
- return blink::WebPushPermissionStatusDefault;
+ return blink::WebPushPermissionStatusPrompt;
}
NOTREACHED();
« no previous file with comments | « content/browser/push_messaging/push_messaging_message_filter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698