diff options
author | joaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-21 21:31:05 +0000 |
---|---|---|
committer | joaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-21 21:31:05 +0000 |
commit | af1974ae817eb58c5473c92be28eccb2189d6f03 (patch) | |
tree | f88bb8b4c591eb6c6924ccfd896182df7075cde9 /components | |
parent | aa1f1e6551cecd319030a35fe5cfac45c191c235 (diff) | |
download | chromium_src-af1974ae817eb58c5473c92be28eccb2189d6f03.zip chromium_src-af1974ae817eb58c5473c92be28eccb2189d6f03.tar.gz chromium_src-af1974ae817eb58c5473c92be28eccb2189d6f03.tar.bz2 |
Moved the --device-management-url switch to the policy component.
BUG=275292
TBR=nkostylev@chromium.org
Review URL: https://codereview.chromium.org/131023004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246115 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components')
-rw-r--r-- | components/policy/core/common/policy_switches.cc | 5 | ||||
-rw-r--r-- | components/policy/core/common/policy_switches.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/components/policy/core/common/policy_switches.cc b/components/policy/core/common/policy_switches.cc index d6491f1..7808085 100644 --- a/components/policy/core/common/policy_switches.cc +++ b/components/policy/core/common/policy_switches.cc @@ -13,6 +13,11 @@ namespace switches { // policy which affects many users is changed. const char kCloudPolicyInvalidationDelay[] = "cloud-policy-invalidation-delay"; +// Specifies the URL at which to fetch configuration policy from the device +// management backend. Specifying this switch turns on managed policy from the +// device management backend. +const char kDeviceManagementUrl[] = "device-management-url"; + // Disables pushing cloud policy to Chrome using an invalidation service. const char kDisableCloudPolicyPush[] = "disable-cloud-policy-push"; diff --git a/components/policy/core/common/policy_switches.h b/components/policy/core/common/policy_switches.h index f9ea1cb..a0728c1 100644 --- a/components/policy/core/common/policy_switches.h +++ b/components/policy/core/common/policy_switches.h @@ -13,6 +13,7 @@ namespace policy { namespace switches { POLICY_EXPORT extern const char kCloudPolicyInvalidationDelay[]; +POLICY_EXPORT extern const char kDeviceManagementUrl[]; POLICY_EXPORT extern const char kDisableCloudPolicyPush[]; POLICY_EXPORT extern const char kEnableComponentCloudPolicy[]; |