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

Unified Diff: services/python/mojo_url_redirector/mojo_url_redirector_apptest.cc

Issue 1375313006: For c++, Generate enum classes instead of enum from mojom. (Closed) Base URL: https://github.com/domokit/mojo.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
Index: services/python/mojo_url_redirector/mojo_url_redirector_apptest.cc
diff --git a/services/python/mojo_url_redirector/mojo_url_redirector_apptest.cc b/services/python/mojo_url_redirector/mojo_url_redirector_apptest.cc
index 71fed904386ef4411009dbf61cf3aa52e502063b..891764117a255918aab9d27a75e70d633fd285ad 100644
--- a/services/python/mojo_url_redirector/mojo_url_redirector_apptest.cc
+++ b/services/python/mojo_url_redirector/mojo_url_redirector_apptest.cc
@@ -101,7 +101,7 @@ class MojoUrlRedirectorApplicationTest :
&http_server_factory);
mojo::NetAddressPtr location_files_server_addr(mojo::NetAddress::New());
- location_files_server_addr->family = mojo::NET_ADDRESS_FAMILY_IPV4;
+ location_files_server_addr->family = mojo::NetAddressFamily::IPV4;
location_files_server_addr->ipv4 = mojo::NetAddressIPv4::New();
location_files_server_addr->ipv4->addr.resize(4);
location_files_server_addr->ipv4->addr[0] = 0;
« no previous file with comments | « services/native_viewport/platform_viewport_android.cc ('k') | services/view_manager/animation_runner_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698