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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.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
« no previous file with comments | « content/shell/common/layout_test/layout_test_messages.h ('k') | no next file » | 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 45f129e085b9bd2431f7f9e91ee0b2f5f25a15ca..c8fc23cc0cfdd452aa7d3664faf4d450c3134cce 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -677,16 +677,16 @@ void BlinkTestRunner::SetPermission(const std::string& name,
const std::string& value,
const GURL& origin,
const GURL& embedding_origin) {
- content::PermissionStatus status;
+ permission::Status status;
if (value == "granted")
- status = PERMISSION_STATUS_GRANTED;
+ status = permission::STATUS_GRANTED;
else if (value == "prompt")
- status = PERMISSION_STATUS_ASK;
+ status = permission::STATUS_ASK;
else if (value == "denied")
- status = PERMISSION_STATUS_DENIED;
+ status = permission::STATUS_DENIED;
else {
NOTREACHED();
- status = PERMISSION_STATUS_DENIED;
+ status = permission::STATUS_DENIED;
}
Send(new LayoutTestHostMsg_SetPermission(
« no previous file with comments | « content/shell/common/layout_test/layout_test_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698