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

Unified Diff: content/shell/browser/layout_test/layout_test_push_messaging_service.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_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 e108c03d700832a04e296f1cc3d2aea305a23f5e..daa2fd8ab18926c3c4b7acbf73d7de068cc5b2b7 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
@@ -27,13 +27,13 @@ static_assert(sizeof(kTestP256Key) == 32,
"The fake public key must have the size of a real public key.");
blink::WebPushPermissionStatus ToWebPushPermissionStatus(
- PermissionStatus status) {
+ permission::Status status) {
switch (status) {
- case PERMISSION_STATUS_GRANTED:
+ case permission::STATUS_GRANTED:
return blink::WebPushPermissionStatusGranted;
- case PERMISSION_STATUS_DENIED:
+ case permission::STATUS_DENIED:
return blink::WebPushPermissionStatusDenied;
- case PERMISSION_STATUS_ASK:
+ case permission::STATUS_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.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698