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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 6312121: Add initial device policy infrastructure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix race condition and tests. Created 9 years, 10 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 | « chrome/common/chrome_switches.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
11 11
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 const char kConflictingModulesCheck[] = "conflicting-modules-check"; 138 const char kConflictingModulesCheck[] = "conflicting-modules-check";
139 139
140 // The Country we should use. This is normally obtained from the operating 140 // The Country we should use. This is normally obtained from the operating
141 // system during first run and cached in the preferences afterwards. This is a 141 // system during first run and cached in the preferences afterwards. This is a
142 // string value, the 2 letter code from ISO 3166-1. 142 // string value, the 2 letter code from ISO 3166-1.
143 const char kCountry[] = "country"; 143 const char kCountry[] = "country";
144 144
145 // Enables support to debug printing subsystem. 145 // Enables support to debug printing subsystem.
146 const char kDebugPrint[] = "debug-print"; 146 const char kDebugPrint[] = "debug-print";
147 147
148 // Specifies the directory in which to store the shared device policy cache
149 // file. If not specified, device policy will be disabled.
150 const char kDevicePolicyCacheDir[] = "device-policy-cache-dir";
151
148 // Specifies the URL at which to fetch configuration policy from the device 152 // Specifies the URL at which to fetch configuration policy from the device
149 // management backend. Specifying this switch turns on managed policy from the 153 // management backend. Specifying this switch turns on managed policy from the
150 // device management backend. 154 // device management backend.
151 const char kDeviceManagementUrl[] = "device-management-url"; 155 const char kDeviceManagementUrl[] = "device-management-url";
152 156
153 // Triggers a pletora of diagnostic modes. 157 // Triggers a pletora of diagnostic modes.
154 const char kDiagnostics[] = "diagnostics"; 158 const char kDiagnostics[] = "diagnostics";
155 159
156 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. 160 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D.
157 // This is controlled by policy and is kept separate from the other 161 // This is controlled by policy and is kept separate from the other
(...skipping 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after
1408 1412
1409 // ----------------------------------------------------------------------------- 1413 // -----------------------------------------------------------------------------
1410 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1414 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1411 // 1415 //
1412 // You were going to just dump your switches here, weren't you? Instead, 1416 // You were going to just dump your switches here, weren't you? Instead,
1413 // please put them in alphabetical order above, or in order inside the 1417 // please put them in alphabetical order above, or in order inside the
1414 // appropriate ifdef at the bottom. The order should match the header. 1418 // appropriate ifdef at the bottom. The order should match the header.
1415 // ----------------------------------------------------------------------------- 1419 // -----------------------------------------------------------------------------
1416 1420
1417 } // namespace switches 1421 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698