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

Unified Diff: components/policy/core/common/cloud/cloud_policy_constants.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/policy/core/common/cloud/cloud_policy_constants.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_constants.cc b/components/policy/core/common/cloud/cloud_policy_constants.cc
index ef9fcfd659099c222cb19962ab9c370379c1aef4..a87b135edc21bb557077474b8d007107514d04e4 100644
--- a/components/policy/core/common/cloud/cloud_policy_constants.cc
+++ b/components/policy/core/common/cloud/cloud_policy_constants.cc
@@ -88,7 +88,7 @@ const char kPolicyVerificationKeyHash[] = "1:356l7w";
std::string GetPolicyVerificationKey() {
// Disable key verification by default until production servers generate
// the proper signatures.
- CommandLine* command_line = CommandLine::ForCurrentProcess();
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
if (command_line->HasSwitch(switches::kDisablePolicyKeyVerification)) {
return std::string();
} else {
@@ -99,7 +99,7 @@ std::string GetPolicyVerificationKey() {
const char* GetChromeUserPolicyType() {
#if defined(OS_ANDROID) || defined(OS_IOS)
- CommandLine* command_line = CommandLine::ForCurrentProcess();
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
if (command_line->HasSwitch(switches::kFakeCloudPolicyType))
return "google/chrome/user";
#endif

Powered by Google App Engine
This is Rietveld 408576698