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

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

Issue 2445153002: Move onc and proxy pref names to components. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
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 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 const char kShow3gPromoNotification[] = 640 const char kShow3gPromoNotification[] =
641 "settings.internet.mobile.show_3g_promo_notification"; 641 "settings.internet.mobile.show_3g_promo_notification";
642 642
643 // An integer pref counting times Data Saver prompt has been shown. 643 // An integer pref counting times Data Saver prompt has been shown.
644 const char kDataSaverPromptsShown[] = 644 const char kDataSaverPromptsShown[] =
645 "settings.internet.mobile.datasaver_prompts_shown"; 645 "settings.internet.mobile.datasaver_prompts_shown";
646 646
647 // A string pref that contains version where "What's new" promo was shown. 647 // A string pref that contains version where "What's new" promo was shown.
648 const char kChromeOSReleaseNotesVersion[] = "settings.release_notes.version"; 648 const char kChromeOSReleaseNotesVersion[] = "settings.release_notes.version";
649 649
650 // A boolean pref that controls whether proxy settings from shared network
651 // settings (accordingly from device policy) are applied or ignored.
652 const char kUseSharedProxies[] = "settings.use_shared_proxies";
653
654 // Power state of the current displays from the last run. 650 // Power state of the current displays from the last run.
655 const char kDisplayPowerState[] = "settings.display.power_state"; 651 const char kDisplayPowerState[] = "settings.display.power_state";
656 // A dictionary pref that stores per display preferences. 652 // A dictionary pref that stores per display preferences.
657 const char kDisplayProperties[] = "settings.display.properties"; 653 const char kDisplayProperties[] = "settings.display.properties";
658 654
659 // A dictionary pref that specifies per-display layout/offset information. 655 // A dictionary pref that specifies per-display layout/offset information.
660 // Its key is the ID of the display and its value is a dictionary for the 656 // Its key is the ID of the display and its value is a dictionary for the
661 // layout/offset information. 657 // layout/offset information.
662 const char kSecondaryDisplays[] = "settings.display.secondary_displays"; 658 const char kSecondaryDisplays[] = "settings.display.secondary_displays";
663 659
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 773
778 // Indicates whether the remote attestation is enabled for the user. 774 // Indicates whether the remote attestation is enabled for the user.
779 const char kAttestationEnabled[] = "attestation.enabled"; 775 const char kAttestationEnabled[] = "attestation.enabled";
780 // The list of extensions allowed to use the platformKeysPrivate API for 776 // The list of extensions allowed to use the platformKeysPrivate API for
781 // remote attestation. 777 // remote attestation.
782 const char kAttestationExtensionWhitelist[] = "attestation.extension_whitelist"; 778 const char kAttestationExtensionWhitelist[] = "attestation.extension_whitelist";
783 779
784 // A boolean pref indicating whether the projection touch HUD is enabled or not. 780 // A boolean pref indicating whether the projection touch HUD is enabled or not.
785 const char kTouchHudProjectionEnabled[] = "touch_hud.projection_enabled"; 781 const char kTouchHudProjectionEnabled[] = "touch_hud.projection_enabled";
786 782
787 // A pref to configure networks. Its value must be a list of
788 // NetworkConfigurations according to the OpenNetworkConfiguration
789 // specification.
790 // Currently, this pref is only used to store the policy. The user's
791 // configuration is still stored in Shill.
792 const char kOpenNetworkConfiguration[] = "onc";
793
794 // A boolean pref recording whether user has dismissed the multiprofile 783 // A boolean pref recording whether user has dismissed the multiprofile
795 // itroduction dialog show. 784 // itroduction dialog show.
796 const char kMultiProfileNeverShowIntro[] = 785 const char kMultiProfileNeverShowIntro[] =
797 "settings.multi_profile_never_show_intro"; 786 "settings.multi_profile_never_show_intro";
798 787
799 // A boolean pref recording whether user has dismissed the multiprofile 788 // A boolean pref recording whether user has dismissed the multiprofile
800 // teleport warning dialog show. 789 // teleport warning dialog show.
801 const char kMultiProfileWarningShowDismissed[] = 790 const char kMultiProfileWarningShowDismissed[] =
802 "settings.multi_profile_warning_show_dismissed"; 791 "settings.multi_profile_warning_show_dismissed";
803 792
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 // Define the IP handling policy override that WebRTC should follow. When not 1273 // Define the IP handling policy override that WebRTC should follow. When not
1285 // set, it defaults to "default". 1274 // set, it defaults to "default".
1286 const char kWebRTCIPHandlingPolicy[] = "webrtc.ip_handling_policy"; 1275 const char kWebRTCIPHandlingPolicy[] = "webrtc.ip_handling_policy";
1287 // Define range of UDP ports allowed to be used by WebRTC PeerConnections. 1276 // Define range of UDP ports allowed to be used by WebRTC PeerConnections.
1288 const char kWebRTCUDPPortRange[] = "webrtc.udp_port_range"; 1277 const char kWebRTCUDPPortRange[] = "webrtc.udp_port_range";
1289 #endif 1278 #endif
1290 1279
1291 // *************** LOCAL STATE *************** 1280 // *************** LOCAL STATE ***************
1292 // These are attached to the machine/installation 1281 // These are attached to the machine/installation
1293 1282
1294 // A pref to configure networks device-wide. Its value must be a list of
1295 // NetworkConfigurations according to the OpenNetworkConfiguration
1296 // specification.
1297 // Currently, this pref is only used to store the policy. The user's
1298 // configuration is still stored in Shill.
1299 const char kDeviceOpenNetworkConfiguration[] = "device_onc";
1300
1301 // Directory of the last profile used. 1283 // Directory of the last profile used.
1302 const char kProfileLastUsed[] = "profile.last_used"; 1284 const char kProfileLastUsed[] = "profile.last_used";
1303 1285
1304 // List of directories of the profiles last active. 1286 // List of directories of the profiles last active.
1305 const char kProfilesLastActive[] = "profile.last_active_profiles"; 1287 const char kProfilesLastActive[] = "profile.last_active_profiles";
1306 1288
1307 // Total number of profiles created for this Chrome build. Used to tag profile 1289 // Total number of profiles created for this Chrome build. Used to tag profile
1308 // directories. 1290 // directories.
1309 const char kProfilesNumCreated[] = "profile.profiles_created"; 1291 const char kProfilesNumCreated[] = "profile.profiles_created";
1310 1292
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
2276 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2258 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2277 2259
2278 // A list of origin trial features to disable by policy. 2260 // A list of origin trial features to disable by policy.
2279 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2261 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2280 2262
2281 // Policy that indicates the state of updates for the binary components. 2263 // Policy that indicates the state of updates for the binary components.
2282 const char kComponentUpdatesEnabled[] = 2264 const char kComponentUpdatesEnabled[] =
2283 "component_updates.component_updates_enabled"; 2265 "component_updates.component_updates_enabled";
2284 2266
2285 } // namespace prefs 2267 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698