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

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

Issue 23765004: Added prefs for content protection attestation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 3 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/pref_names.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 (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/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 929
930 // A boolean pref indicating whether the projection touch HUD is enabled or not. 930 // A boolean pref indicating whether the projection touch HUD is enabled or not.
931 const char kTouchHudProjectionEnabled[] = "touch_hud.projection_enabled"; 931 const char kTouchHudProjectionEnabled[] = "touch_hud.projection_enabled";
932 932
933 // A pref to configure networks. Its value must be a list of 933 // A pref to configure networks. Its value must be a list of
934 // NetworkConfigurations according to the OpenNetworkConfiguration 934 // NetworkConfigurations according to the OpenNetworkConfiguration
935 // specification. 935 // specification.
936 // Currently, this pref is only used to store the policy. The user's 936 // Currently, this pref is only used to store the policy. The user's
937 // configuration is still stored in Shill. 937 // configuration is still stored in Shill.
938 const char kOpenNetworkConfiguration[] = "onc"; 938 const char kOpenNetworkConfiguration[] = "onc";
939
940 // A boolean pref that tracks whether the user has already given consent for
941 // enabling remote attestation for content protection.
942 const char kRAConsentFirstTime[] = "settings.privacy.ra_consent";
943 // A DictionaryValue pref that tracks domains for which the user has explicitly
944 // allowed or denied.
945 const char kRAConsentDomains[] = "settings.privacy.ra_consent_domains";
946 // A boolean pref that tracks whether the user indicated they wish to be asked
947 // for consent for every site that uses remote attestation.
948 const char kRAConsentAlways[] = "settings.privacy.ra_consent_always";
939 #endif // defined(OS_CHROMEOS) 949 #endif // defined(OS_CHROMEOS)
940 950
941 // The disabled messages in IPC logging. 951 // The disabled messages in IPC logging.
942 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; 952 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages";
943 953
944 // A boolean pref set to true if a Home button to open the Home pages should be 954 // A boolean pref set to true if a Home button to open the Home pages should be
945 // visible on the toolbar. 955 // visible on the toolbar.
946 const char kShowHomeButton[] = "browser.show_home_button"; 956 const char kShowHomeButton[] = "browser.show_home_button";
947 957
948 // A string value which saves short list of recently user selected encodings 958 // A string value which saves short list of recently user selected encodings
(...skipping 1621 matching lines...) Expand 10 before | Expand all | Expand 10 after
2570 // The number of times the an app was launched from the app launcher since last 2580 // The number of times the an app was launched from the app launcher since last
2571 // ping and the time of the last ping. 2581 // ping and the time of the last ping.
2572 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; 2582 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count";
2573 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; 2583 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping";
2574 2584
2575 // How often the bubble has been shown. 2585 // How often the bubble has been shown.
2576 extern const char kModuleConflictBubbleShown[] = "module_conflict.bubble_shown"; 2586 extern const char kModuleConflictBubbleShown[] = "module_conflict.bubble_shown";
2577 2587
2578 // A string pref for storing the salt used to compute the pepper device ID. 2588 // A string pref for storing the salt used to compute the pepper device ID.
2579 const char kDRMSalt[] = "settings.privacy.drm_salt"; 2589 const char kDRMSalt[] = "settings.privacy.drm_salt";
2580 // A boolean pref that enables the (private) pepper GetDeviceID() call. 2590 // A boolean pref that enables the (private) pepper GetDeviceID() call and
2591 // enables the use of remote attestation for content protection.
2581 const char kEnableDRM[] = "settings.privacy.drm_enabled"; 2592 const char kEnableDRM[] = "settings.privacy.drm_enabled";
2582 2593
2583 // A boolean per-profile pref that signals if the watchdog extension is 2594 // A boolean per-profile pref that signals if the watchdog extension is
2584 // installed and active. We need to know if the watchdog extension active for 2595 // installed and active. We need to know if the watchdog extension active for
2585 // ActivityLog initialization before the extension system is initialized. 2596 // ActivityLog initialization before the extension system is initialized.
2586 const char kWatchdogExtensionActive[] = 2597 const char kWatchdogExtensionActive[] =
2587 "profile.extensions.activity_log.watchdog_extension_active"; 2598 "profile.extensions.activity_log.watchdog_extension_active";
2588 2599
2589 } // namespace prefs 2600 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698