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

Unified Diff: shell/application_manager/network_fetcher.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/view_manager/view_manager_service_unittest.cc ('k') | shell/shell_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/application_manager/network_fetcher.cc
diff --git a/shell/application_manager/network_fetcher.cc b/shell/application_manager/network_fetcher.cc
index 159c28cd8583c07e7f38cf8a25a3a33d6efb2a97..5d945ba773a03760029fe1ee0ff0eb637b8a8871 100644
--- a/shell/application_manager/network_fetcher.cc
+++ b/shell/application_manager/network_fetcher.cc
@@ -55,7 +55,7 @@ mojo::URLRequestPtr GetRequest(const GURL& url, bool disable_cache) {
request->url = mojo::String::From(url);
request->auto_follow_redirects = false;
if (disable_cache)
- request->cache_mode = mojo::URLRequest::CACHE_MODE_BYPASS_CACHE;
+ request->cache_mode = mojo::URLRequest::URLRequest::CacheMode::BYPASS_CACHE;
auto architecture_header = mojo::HttpHeader::New();
architecture_header->name = "X-Architecture";
architecture_header->value = kArchitecture;
« no previous file with comments | « services/view_manager/view_manager_service_unittest.cc ('k') | shell/shell_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698