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

Unified Diff: mojo/shell/loader.cc

Issue 292743017: Cleanup: Use base::CommandLine in mojo/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 7 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 | « mojo/shell/dynamic_service_loader.cc ('k') | mojo/shell/run.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/loader.cc
===================================================================
--- mojo/shell/loader.cc (revision 272151)
+++ mojo/shell/loader.cc (working copy)
@@ -77,7 +77,8 @@
#else
job->fetcher_->SaveResponseToTemporaryFile(file_runner_.get());
#endif
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableCache))
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableCache))
job->fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE);
job->fetcher_->Start();
return job.Pass();
« no previous file with comments | « mojo/shell/dynamic_service_loader.cc ('k') | mojo/shell/run.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698