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

Side by Side Diff: components/onc/onc_constants.cc

Issue 23526016: Autoconnect policy for CrOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed policy. 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/onc/onc_constants.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/onc/onc_constants.h" 5 #include "components/onc/onc_constants.h"
6 6
7 // Constants for ONC properties. 7 // Constants for ONC properties.
8 namespace onc { 8 namespace onc {
9 9
10 const char kAugmentationActiveSetting[] = "Active"; 10 const char kAugmentationActiveSetting[] = "Active";
11 const char kAugmentationEffectiveSetting[] = "Effective"; 11 const char kAugmentationEffectiveSetting[] = "Effective";
12 const char kAugmentationUnmanaged[] = "Unmanaged"; 12 const char kAugmentationUnmanaged[] = "Unmanaged";
13 const char kAugmentationUserPolicy[] = "UserPolicy"; 13 const char kAugmentationUserPolicy[] = "UserPolicy";
14 const char kAugmentationDevicePolicy[] = "DevicePolicy"; 14 const char kAugmentationDevicePolicy[] = "DevicePolicy";
15 const char kAugmentationUserSetting[] = "UserSetting"; 15 const char kAugmentationUserSetting[] = "UserSetting";
16 const char kAugmentationSharedSetting[] = "SharedSetting"; 16 const char kAugmentationSharedSetting[] = "SharedSetting";
17 const char kAugmentationUserEditable[] = "UserEditable"; 17 const char kAugmentationUserEditable[] = "UserEditable";
18 const char kAugmentationDeviceEditable[] = "DeviceEditable"; 18 const char kAugmentationDeviceEditable[] = "DeviceEditable";
19 19
20 // Common keys/values. 20 // Common keys/values.
21 const char kRecommended[] = "Recommended"; 21 const char kRecommended[] = "Recommended";
22 const char kRemove[] = "Remove"; 22 const char kRemove[] = "Remove";
23 23
24 // Top Level Configuration 24 // Top Level Configuration
25 namespace toplevel_config { 25 namespace toplevel_config {
26 const char kCertificates[] = "Certificates"; 26 const char kCertificates[] = "Certificates";
27 const char kEncryptedConfiguration[] = "EncryptedConfiguration"; 27 const char kEncryptedConfiguration[] = "EncryptedConfiguration";
28 const char kNetworkConfigurations[] = "NetworkConfigurations"; 28 const char kNetworkConfigurations[] = "NetworkConfigurations";
29 const char kGlobalNetworkConfiguration[] = "GlobalNetworkConfiguration";
29 const char kType[] = "Type"; 30 const char kType[] = "Type";
30 const char kUnencryptedConfiguration[] = "UnencryptedConfiguration"; 31 const char kUnencryptedConfiguration[] = "UnencryptedConfiguration";
31 } // namespace toplevel_config 32 } // namespace toplevel_config
32 33
33 // Network Configuration 34 // Network Configuration
34 namespace network_config { 35 namespace network_config {
35 const char kCellular[] = "Cellular"; 36 const char kCellular[] = "Cellular";
36 const char kEthernet[] = "Ethernet"; 37 const char kEthernet[] = "Ethernet";
37 const char kGUID[] = "GUID"; 38 const char kGUID[] = "GUID";
38 const char kIPConfigs[] = "IPConfigs"; 39 const char kIPConfigs[] = "IPConfigs";
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 const char kSocks[] = "SOCKS"; 280 const char kSocks[] = "SOCKS";
280 const char kType[] = "Type"; 281 const char kType[] = "Type";
281 const char kWPAD[] = "WPAD"; 282 const char kWPAD[] = "WPAD";
282 } // namespace proxy 283 } // namespace proxy
283 284
284 namespace substitutes { 285 namespace substitutes {
285 const char kLoginIDField[] = "${LOGIN_ID}"; 286 const char kLoginIDField[] = "${LOGIN_ID}";
286 const char kEmailField[] = "${LOGIN_EMAIL}"; 287 const char kEmailField[] = "${LOGIN_EMAIL}";
287 } // namespace substitutes 288 } // namespace substitutes
288 289
290 namespace global_network_config {
291 const char kAllowOnlyPolicyNetworksToAutoconnect[] =
292 "AllowOnlyPolicyNetworksToAutoconnect";
293 } // global_network_config
294
289 } // namespace onc 295 } // namespace onc
290 296
OLDNEW
« no previous file with comments | « components/onc/onc_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698