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

Unified Diff: chrome/browser/extensions/install_verifier.cc

Issue 819133004: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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: chrome/browser/extensions/install_verifier.cc
diff --git a/chrome/browser/extensions/install_verifier.cc b/chrome/browser/extensions/install_verifier.cc
index 66f20b69962459004652f494b4ef2394f8d81195..2f23209a7ed05603450f24c464f7b558bbebfe33 100644
--- a/chrome/browser/extensions/install_verifier.cc
+++ b/chrome/browser/extensions/install_verifier.cc
@@ -55,8 +55,9 @@ VerifyStatus GetExperimentStatus() {
const std::string group = base::FieldTrialList::FindFullName(
kExperimentName);
- std::string forced_trials = CommandLine::ForCurrentProcess()->
- GetSwitchValueASCII(switches::kForceFieldTrials);
+ std::string forced_trials =
+ base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
+ switches::kForceFieldTrials);
if (forced_trials.find(kExperimentName) != std::string::npos) {
// We don't want to allow turning off enforcement by forcing the field
// trial group to something other than enforcement.
@@ -81,7 +82,7 @@ VerifyStatus GetExperimentStatus() {
}
VerifyStatus GetCommandLineStatus() {
- const CommandLine* cmdline = CommandLine::ForCurrentProcess();
+ const base::CommandLine* cmdline = base::CommandLine::ForCurrentProcess();
if (!InstallSigner::GetForcedNotFromWebstore().empty())
return ENFORCE;
« no previous file with comments | « chrome/browser/extensions/install_signer.cc ('k') | chrome/browser/extensions/location_bar_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698