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

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

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 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') | device/devices_app/usb/device_impl.cc » ('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 15fee621c0ca891a73c512e19ec168931dd71acf..f6f74c58bd300ea99351dc4598e8658345eae7dd 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -705,14 +705,14 @@ void BlinkTestRunner::SetPermission(const std::string& name,
const GURL& embedding_origin) {
content::PermissionStatus status;
if (value == "granted")
- status = PERMISSION_STATUS_GRANTED;
+ status = PermissionStatus::GRANTED;
else if (value == "prompt")
- status = PERMISSION_STATUS_ASK;
+ status = PermissionStatus::ASK;
else if (value == "denied")
- status = PERMISSION_STATUS_DENIED;
+ status = PermissionStatus::DENIED;
else {
NOTREACHED();
- status = PERMISSION_STATUS_DENIED;
+ status = PermissionStatus::DENIED;
}
Send(new LayoutTestHostMsg_SetPermission(
« no previous file with comments | « content/shell/common/layout_test/layout_test_messages.h ('k') | device/devices_app/usb/device_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698