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

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

Issue 1832813002: Add mojom module suffix in .mojom files in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Tom's comment 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
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 bb75f498779512d8664fc2b617a8f695d4fd3277..67cb1028323b679493d08287bd6b4c67bbbaf925 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -675,16 +675,16 @@ void BlinkTestRunner::SetPermission(const std::string& name,
const std::string& value,
const GURL& origin,
const GURL& embedding_origin) {
- content::PermissionStatus status;
+ content::mojom::PermissionStatus status;
if (value == "granted")
- status = PermissionStatus::GRANTED;
+ status = mojom::PermissionStatus::GRANTED;
else if (value == "prompt")
- status = PermissionStatus::ASK;
+ status = mojom::PermissionStatus::ASK;
else if (value == "denied")
- status = PermissionStatus::DENIED;
+ status = mojom::PermissionStatus::DENIED;
else {
NOTREACHED();
- status = PermissionStatus::DENIED;
+ status = mojom::PermissionStatus::DENIED;
}
Send(new LayoutTestHostMsg_SetPermission(
« no previous file with comments | « content/shell/common/layout_test/layout_test_messages.h ('k') | content/test/data/web_ui_test_mojo_bindings.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698