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

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

Issue 1943963004: Revert of (reland) Move permission.mojom from WebKit/public/platform/ to components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/shell/common/layout_test/layout_test_messages.h ('k') | content/test/BUILD.gn » ('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 f7c8d8c0aa02583ccd205006e6184dc0c617fd95..81a61a3134effd307db630486b4f11228cf339b0 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -613,16 +613,16 @@
const std::string& value,
const GURL& origin,
const GURL& embedding_origin) {
- permissions::mojom::PermissionStatus status;
+ blink::mojom::PermissionStatus status;
if (value == "granted")
- status = permissions::mojom::PermissionStatus::GRANTED;
+ status = blink::mojom::PermissionStatus::GRANTED;
else if (value == "prompt")
- status = permissions::mojom::PermissionStatus::ASK;
+ status = blink::mojom::PermissionStatus::ASK;
else if (value == "denied")
- status = permissions::mojom::PermissionStatus::DENIED;
+ status = blink::mojom::PermissionStatus::DENIED;
else {
NOTREACHED();
- status = permissions::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/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698