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

Side by Side Diff: components/policy/core/common/policy_switches.cc

Issue 250383004: Enable fetching cloud policy for extensions by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/policy/core/common/policy_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/policy/core/common/policy_switches.h" 5 #include "components/policy/core/common/policy_switches.h"
6 6
7 namespace policy { 7 namespace policy {
8 namespace switches { 8 namespace switches {
9 9
10 // Specifies the URL at which to fetch configuration policy from the device 10 // Specifies the URL at which to fetch configuration policy from the device
11 // management backend. 11 // management backend.
12 const char kDeviceManagementUrl[] = "device-management-url"; 12 const char kDeviceManagementUrl[] = "device-management-url";
13 13
14 // Enables fetching and storing cloud policy for components. 14 // Disables fetching and storing cloud policy for components.
15 const char kEnableComponentCloudPolicy[] = "enable-component-cloud-policy"; 15 const char kDisableComponentCloudPolicy[] = "disable-component-cloud-policy";
16 16
17 // Disables the verification of policy signing keys. 17 // Disables the verification of policy signing keys.
18 // TODO(atwilson): Remove this once all test servers have been updated to 18 // TODO(atwilson): Remove this once all test servers have been updated to
19 // produce verification signatures. 19 // produce verification signatures.
20 const char kDisablePolicyKeyVerification[] = "disable-policy-key-verification"; 20 const char kDisablePolicyKeyVerification[] = "disable-policy-key-verification";
21 21
22 #if defined(OS_ANDROID) || defined(OS_IOS) 22 #if defined(OS_ANDROID) || defined(OS_IOS)
23 // Registers for cloud policy using the BROWSER client type instead of the 23 // Registers for cloud policy using the BROWSER client type instead of the
24 // ANDROID_BROWSER or IOS_BROWSER types. 24 // ANDROID_BROWSER or IOS_BROWSER types.
25 // This allows skipping the server whitelist. 25 // This allows skipping the server whitelist.
26 // TODO(joaodasilva): remove this. http://crbug.com/248527 26 // TODO(joaodasilva): remove this. http://crbug.com/248527
27 const char kFakeCloudPolicyType[] = "fake-cloud-policy-type"; 27 const char kFakeCloudPolicyType[] = "fake-cloud-policy-type";
28 #endif // defined(OS_ANDROID) || defined(OS_IOS) 28 #endif // defined(OS_ANDROID) || defined(OS_IOS)
29 29
30 } // namespace switches 30 } // namespace switches
31 } // namespace policy 31 } // namespace policy
OLDNEW
« no previous file with comments | « components/policy/core/common/policy_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698