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

Side by Side Diff: chromeos/network/onc/onc_constants.h

Issue 12676017: Adding policy support to the new network configuration stack. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed clang errors. Created 7 years, 8 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 | « chromeos/network/network_ui_data.cc ('k') | chromeos/network/onc/onc_constants.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROMEOS_NETWORK_ONC_ONC_CONSTANTS_H_ 4 #ifndef CHROMEOS_NETWORK_ONC_ONC_CONSTANTS_H_
5 #define CHROMEOS_NETWORK_ONC_ONC_CONSTANTS_H_ 5 #define CHROMEOS_NETWORK_ONC_ONC_CONSTANTS_H_
6 6
7 #include "chromeos/chromeos_export.h" 7 #include "chromeos/chromeos_export.h"
8 8
9 namespace chromeos { 9 namespace chromeos {
10 10
11 // Constants for ONC properties. 11 // Constants for ONC properties.
12 namespace onc { 12 namespace onc {
13 13
14 // Indicates from which source an ONC blob comes from. 14 // Indicates from which source an ONC blob comes from.
15 enum ONCSource { 15 enum ONCSource {
16 ONC_SOURCE_NONE, 16 ONC_SOURCE_NONE,
17 ONC_SOURCE_USER_IMPORT, 17 ONC_SOURCE_USER_IMPORT,
18 ONC_SOURCE_DEVICE_POLICY, 18 ONC_SOURCE_DEVICE_POLICY,
19 ONC_SOURCE_USER_POLICY, 19 ONC_SOURCE_USER_POLICY,
20 }; 20 };
21 21
22 // These keys are used to augment the dictionary resulting from merging the 22 // These keys are used to augment the dictionary resulting from merging the
23 // different settings and policies. 23 // different settings and policies.
24
25 // The setting that Shill declared to be using. For example, if no policy and no
26 // user setting exists, Shill might still report a property like network
27 // security options or a SSID.
28 CHROMEOS_EXPORT extern const char kAugmentationActiveSetting[];
29 // The one of different setting sources (user/device policy, user/shared
30 // settings) that has highest priority over the others.
24 CHROMEOS_EXPORT extern const char kAugmentationEffectiveSetting[]; 31 CHROMEOS_EXPORT extern const char kAugmentationEffectiveSetting[];
32 CHROMEOS_EXPORT extern const char kAugmentationUnmanaged[];
25 CHROMEOS_EXPORT extern const char kAugmentationUserPolicy[]; 33 CHROMEOS_EXPORT extern const char kAugmentationUserPolicy[];
26 CHROMEOS_EXPORT extern const char kAugmentationDevicePolicy[]; 34 CHROMEOS_EXPORT extern const char kAugmentationDevicePolicy[];
27 CHROMEOS_EXPORT extern const char kAugmentationUserSetting[]; 35 CHROMEOS_EXPORT extern const char kAugmentationUserSetting[];
28 CHROMEOS_EXPORT extern const char kAugmentationSharedSetting[]; 36 CHROMEOS_EXPORT extern const char kAugmentationSharedSetting[];
29 CHROMEOS_EXPORT extern const char kAugmentationUserEditable[]; 37 CHROMEOS_EXPORT extern const char kAugmentationUserEditable[];
30 CHROMEOS_EXPORT extern const char kAugmentationDeviceEditable[]; 38 CHROMEOS_EXPORT extern const char kAugmentationDeviceEditable[];
31 39
32 // This is no ONC key or value but used for logging only. 40 // This is no ONC key or value but used for logging only.
33 // TODO(pneubeck): Remove. 41 // TODO(pneubeck): Remove.
34 CHROMEOS_EXPORT extern const char kNetworkConfiguration[]; 42 CHROMEOS_EXPORT extern const char kNetworkConfiguration[];
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 CHROMEOS_EXPORT extern const char kSocks[]; 286 CHROMEOS_EXPORT extern const char kSocks[];
279 CHROMEOS_EXPORT extern const char kType[]; 287 CHROMEOS_EXPORT extern const char kType[];
280 CHROMEOS_EXPORT extern const char kWPAD[]; 288 CHROMEOS_EXPORT extern const char kWPAD[];
281 } // namespace proxy 289 } // namespace proxy
282 290
283 } // namespace onc 291 } // namespace onc
284 292
285 } // namespace chromeos 293 } // namespace chromeos
286 294
287 #endif // CHROMEOS_NETWORK_ONC_ONC_CONSTANTS_H_ 295 #endif // CHROMEOS_NETWORK_ONC_ONC_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chromeos/network/network_ui_data.cc ('k') | chromeos/network/onc/onc_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698