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

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

Issue 31043008: Changed platform verification user consent logic to be per-domain. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: new solution using content settings Created 7 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 | Annotate | Revision Log
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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 // A pref to configure networks. Its value must be a list of 816 // A pref to configure networks. Its value must be a list of
817 // NetworkConfigurations according to the OpenNetworkConfiguration 817 // NetworkConfigurations according to the OpenNetworkConfiguration
818 // specification. 818 // specification.
819 // Currently, this pref is only used to store the policy. The user's 819 // Currently, this pref is only used to store the policy. The user's
820 // configuration is still stored in Shill. 820 // configuration is still stored in Shill.
821 const char kOpenNetworkConfiguration[] = "onc"; 821 const char kOpenNetworkConfiguration[] = "onc";
822 822
823 // A boolean pref that tracks whether the user has already given consent for 823 // A boolean pref that tracks whether the user has already given consent for
824 // enabling remote attestation for content protection. 824 // enabling remote attestation for content protection.
825 const char kRAConsentFirstTime[] = "settings.privacy.ra_consent"; 825 const char kRAConsentFirstTime[] = "settings.privacy.ra_consent";
826 // A DictionaryValue pref that tracks domains for which the user has explicitly
827 // allowed or denied.
828 const char kRAConsentDomains[] = "settings.privacy.ra_consent_domains";
829 // A boolean pref that tracks whether the user indicated they wish to be asked
830 // for consent for every site that uses remote attestation.
831 const char kRAConsentAlways[] = "settings.privacy.ra_consent_always";
832 826
833 // A boolean pref recording whether user has dismissed the multiprofile 827 // A boolean pref recording whether user has dismissed the multiprofile
834 // notification. 828 // notification.
835 const char kMultiProfileNotificationDismissed[] = 829 const char kMultiProfileNotificationDismissed[] =
836 "settings.multi_profile_notification_dismissed"; 830 "settings.multi_profile_notification_dismissed";
837 831
838 // A string pref that holds string enum values of how the user should behave 832 // A string pref that holds string enum values of how the user should behave
839 // in a multiprofile session. See ChromeOsMultiProfileUserBehavior policy 833 // in a multiprofile session. See ChromeOsMultiProfileUserBehavior policy
840 // for more details of the valid values. 834 // for more details of the valid values.
841 const char kMultiProfileUserBehavior[] = "settings.multiprofile_user_behavior"; 835 const char kMultiProfileUserBehavior[] = "settings.multiprofile_user_behavior";
(...skipping 1711 matching lines...) Expand 10 before | Expand all | Expand 10 after
2553 // A dictionary pref which maps profile names to dictionary values which hold 2547 // A dictionary pref which maps profile names to dictionary values which hold
2554 // hashes of profile prefs that we track to detect changes that happen outside 2548 // hashes of profile prefs that we track to detect changes that happen outside
2555 // of Chrome. 2549 // of Chrome.
2556 const char kProfilePreferenceHashes[] = "profile.preference_hashes"; 2550 const char kProfilePreferenceHashes[] = "profile.preference_hashes";
2557 2551
2558 // Stores a pair of local time and corresponding network time to bootstrap 2552 // Stores a pair of local time and corresponding network time to bootstrap
2559 // network time tracker when browser starts. 2553 // network time tracker when browser starts.
2560 const char kNetworkTimeMapping[] = "profile.network_time_mapping"; 2554 const char kNetworkTimeMapping[] = "profile.network_time_mapping";
2561 2555
2562 } // namespace prefs 2556 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698