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

Unified Diff: services/http_server/http_server_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
« no previous file with comments | « services/files/util.cc ('k') | services/http_server/http_server_factory_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/http_server/http_server_apptest.cc
diff --git a/services/http_server/http_server_apptest.cc b/services/http_server/http_server_apptest.cc
index 494b68ad00dd26a274dcb49a3d8caa8a97065a92..4acf3758c6b21a9f0ced0ea83338468b55cccf76 100644
--- a/services/http_server/http_server_apptest.cc
+++ b/services/http_server/http_server_apptest.cc
@@ -115,7 +115,7 @@ class HttpServerApplicationTest : public mojo::test::ApplicationTestBase {
http_server::HttpServerPtr HttpServerApplicationTest::CreateHttpServer() {
http_server::HttpServerPtr http_server;
mojo::NetAddressPtr local_address(mojo::NetAddress::New());
- local_address->family = mojo::NET_ADDRESS_FAMILY_IPV4;
+ local_address->family = mojo::NetAddressFamily::IPV4;
local_address->ipv4 = mojo::NetAddressIPv4::New();
local_address->ipv4->addr.resize(4);
local_address->ipv4->addr[0] = 127;
« no previous file with comments | « services/files/util.cc ('k') | services/http_server/http_server_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698