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 4e2bc47a31b9e0af1587ab533c54ab35c5be3577..f272a72c1a15b36ead0144d3f3e6d4aee1d2f39d 100644 |
--- a/components/policy/core/common/cloud/cloud_policy_constants.cc |
+++ b/components/policy/core/common/cloud/cloud_policy_constants.cc |
@@ -99,13 +99,8 @@ const uint8_t kPolicyVerificationKey[] = { |
const char kPolicyVerificationKeyHash[] = "1:356l7w"; |
std::string GetPolicyVerificationKey() { |
- base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
- if (command_line->HasSwitch(switches::kDisablePolicyKeyVerification)) { |
- return std::string(); |
- } else { |
- return std::string(reinterpret_cast<const char*>(kPolicyVerificationKey), |
- sizeof(kPolicyVerificationKey)); |
- } |
+ return std::string(reinterpret_cast<const char*>(kPolicyVerificationKey), |
+ sizeof(kPolicyVerificationKey)); |
} |
} // namespace policy |