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

Unified Diff: components/precache/content/precache_manager.cc

Issue 818103002: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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: components/precache/content/precache_manager.cc
diff --git a/components/precache/content/precache_manager.cc b/components/precache/content/precache_manager.cc
index 5fd21f1001ec7a367f991b9ba30b6e86151b046d..62cf590723f06e5eedc270e49eba90a00f0342a1 100644
--- a/components/precache/content/precache_manager.cc
+++ b/components/precache/content/precache_manager.cc
@@ -50,7 +50,8 @@ PrecacheManager::~PrecacheManager() {}
bool PrecacheManager::IsPrecachingEnabled() {
return base::FieldTrialList::FindFullName(kPrecacheFieldTrialName) ==
kPrecacheFieldTrialEnabledGroup ||
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnablePrecache);
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnablePrecache);
}
bool PrecacheManager::IsPrecachingAllowed() {
« no previous file with comments | « components/policy/core/common/cloud/cloud_policy_manager.cc ('k') | components/precache/content/precache_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698