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

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

Issue 979273003: Simplify PlatformVerificationFlow::CheckConsent() logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 744
745 // A pref to configure networks. Its value must be a list of 745 // A pref to configure networks. Its value must be a list of
746 // NetworkConfigurations according to the OpenNetworkConfiguration 746 // NetworkConfigurations according to the OpenNetworkConfiguration
747 // specification. 747 // specification.
748 // Currently, this pref is only used to store the policy. The user's 748 // Currently, this pref is only used to store the policy. The user's
749 // configuration is still stored in Shill. 749 // configuration is still stored in Shill.
750 const char kOpenNetworkConfiguration[] = "onc"; 750 const char kOpenNetworkConfiguration[] = "onc";
751 751
752 // A boolean pref that tracks whether the user has already given consent for 752 // A boolean pref that tracks whether the user has already given consent for
753 // enabling remote attestation for content protection. 753 // enabling remote attestation for content protection.
754 const char kRAConsentFirstTime[] = "settings.privacy.ra_consent"; 754 const char kRAConsentGranted[] = "settings.privacy.ra_consent_granted";
xhwang 2015/03/06 17:15:09 Previously we set this pref even even when user cl
755 755
756 // A boolean pref recording whether user has dismissed the multiprofile 756 // A boolean pref recording whether user has dismissed the multiprofile
757 // itroduction dialog show. 757 // itroduction dialog show.
758 const char kMultiProfileNeverShowIntro[] = 758 const char kMultiProfileNeverShowIntro[] =
759 "settings.multi_profile_never_show_intro"; 759 "settings.multi_profile_never_show_intro";
760 760
761 // A boolean pref recording whether user has dismissed the multiprofile 761 // A boolean pref recording whether user has dismissed the multiprofile
762 // teleport warning dialog show. 762 // teleport warning dialog show.
763 const char kMultiProfileWarningShowDismissed[] = 763 const char kMultiProfileWarningShowDismissed[] =
764 "settings.multi_profile_warning_show_dismissed"; 764 "settings.multi_profile_warning_show_dismissed";
(...skipping 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after
2277 // (name and a list of clients that registered the whitelist). 2277 // (name and a list of clients that registered the whitelist).
2278 const char kRegisteredSupervisedUserWhitelists[] = 2278 const char kRegisteredSupervisedUserWhitelists[] =
2279 "supervised_users.whitelists"; 2279 "supervised_users.whitelists";
2280 2280
2281 #if defined(ENABLE_EXTENSIONS) 2281 #if defined(ENABLE_EXTENSIONS)
2282 // Policy that indicates how to handle animated images. 2282 // Policy that indicates how to handle animated images.
2283 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2283 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2284 #endif 2284 #endif
2285 2285
2286 } // namespace prefs 2286 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698