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

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

Issue 26972003: Added a policy_switches.cc file in the policy component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/policy/core/common/policy_switches.h"
6
7 namespace policy {
8 namespace switches {
9
10 // The maximum amount of delay in ms between receiving a cloud policy
11 // invalidation and fetching the policy. A random delay up to this value is used
12 // to prevent Chrome clients from overwhelming the cloud policy server when a
13 // policy which affects many users is changed.
14 const char kCloudPolicyInvalidationDelay[] = "cloud-policy-invalidation-delay";
15
16 // If present, disables the loading and application of cloud policy for
17 // signed-in users.
18 const char kDisableCloudPolicyOnSignin[] = "disable-cloud-policy-on-signin";
19
20 // Disables pushing cloud policy to Chrome using an invalidation service.
21 const char kDisableCloudPolicyPush[] = "disable-cloud-policy-push";
22
23 #if defined(OS_ANDROID) || defined(OS_IOS)
24 // Registers for cloud policy using the BROWSER client type instead of the
25 // ANDROID_BROWSER or IOS_BROWSER types.
26 // This allows skipping the server whitelist.
27 // TODO(joaodasilva): remove this. http://crbug.com/248527
28 const char kFakeCloudPolicyType[] = "fake-cloud-policy-type";
29 #endif // defined(OS_ANDROID) || defined(OS_IOS)
30
31 } // namespace switches
32 } // 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