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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 1771743002: Move geolocation and permission mojoms into WebKit/public/platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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/shell/common/layout_test/layout_test_messages.h ('k') | content/test/mock_permission_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index 7d85853b6cf81e79a5a24f408c31407dc60ce8e9..067b01773f8c34f1589f6af5402d8534fb8b0097 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -674,16 +674,16 @@ void BlinkTestRunner::SetPermission(const std::string& name,
const std::string& value,
const GURL& origin,
const GURL& embedding_origin) {
- content::mojom::PermissionStatus status;
+ blink::mojom::PermissionStatus status;
if (value == "granted")
- status = mojom::PermissionStatus::GRANTED;
+ status = blink::mojom::PermissionStatus::GRANTED;
else if (value == "prompt")
- status = mojom::PermissionStatus::ASK;
+ status = blink::mojom::PermissionStatus::ASK;
else if (value == "denied")
- status = mojom::PermissionStatus::DENIED;
+ status = blink::mojom::PermissionStatus::DENIED;
else {
NOTREACHED();
- status = mojom::PermissionStatus::DENIED;
+ status = blink::mojom::PermissionStatus::DENIED;
}
Send(new LayoutTestHostMsg_SetPermission(
« no previous file with comments | « content/shell/common/layout_test/layout_test_messages.h ('k') | content/test/mock_permission_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698