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

Unified Diff: examples/http_handler/http_handler.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 | « examples/ganesh_app/texture_uploader.cc ('k') | examples/keyboard_client/keyboard_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/http_handler/http_handler.cc
diff --git a/examples/http_handler/http_handler.cc b/examples/http_handler/http_handler.cc
index 365ee3e8a82b8db3719bd600f642bc4ebe975764..bf6b39e80715901f6a90fafee81b781a22e7a420 100644
--- a/examples/http_handler/http_handler.cc
+++ b/examples/http_handler/http_handler.cc
@@ -36,7 +36,7 @@ class HttpHandler : public ApplicationDelegate,
app->ConnectToService("mojo:http_server", &http_server_factory);
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] = 0;
« no previous file with comments | « examples/ganesh_app/texture_uploader.cc ('k') | examples/keyboard_client/keyboard_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698