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

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

Issue 11783008: Add a lock to the managed user settings page and require authentication for unlocking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add browser test for ManagedUserSetPassphraseOverlay Created 7 years, 10 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
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 // Constants for the names of various preferences, for easier changing. 5 // Constants for the names of various preferences, for easier changing.
6 6
7 #ifndef CHROME_COMMON_PREF_NAMES_H_ 7 #ifndef CHROME_COMMON_PREF_NAMES_H_
8 #define CHROME_COMMON_PREF_NAMES_H_ 8 #define CHROME_COMMON_PREF_NAMES_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
11 11
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 13
14 namespace prefs { 14 namespace prefs {
15 15
16 // Profile prefs. Please add Local State prefs below instead. 16 // Profile prefs. Please add Local State prefs below instead.
17 extern const char kDefaultApps[]; 17 extern const char kDefaultApps[];
18 extern const char kDefaultAppsInstalled[]; 18 extern const char kDefaultAppsInstalled[];
19 extern const char kHomePageIsNewTabPage[]; 19 extern const char kHomePageIsNewTabPage[];
20 extern const char kHomePage[]; 20 extern const char kHomePage[];
21 extern const char kHomePageChanged[]; 21 extern const char kHomePageChanged[];
22 extern const char kIsGooglePlusUser[]; 22 extern const char kIsGooglePlusUser[];
23 extern const char kManagedModeWhitelist[]; 23 extern const char kManagedModeWhitelist[];
24 extern const char kManagedModeBlacklist[]; 24 extern const char kManagedModeBlacklist[];
25 extern const char kManagedModeLocalPassphrase[];
26 extern const char kManagedModeLocalSalt[];
27 extern const char kManagedModeLocked[];
25 extern const char kSessionExitedCleanly[]; 28 extern const char kSessionExitedCleanly[];
26 extern const char kSessionExitType[]; 29 extern const char kSessionExitType[];
27 extern const char kRestoreOnStartup[]; 30 extern const char kRestoreOnStartup[];
28 extern const char kURLsToRestoreOnStartup[]; 31 extern const char kURLsToRestoreOnStartup[];
29 extern const char kRestoreOnStartupMigrated[]; 32 extern const char kRestoreOnStartupMigrated[];
30 extern const char kDisableScreenshots[]; 33 extern const char kDisableScreenshots[];
31 34
32 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state 35 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state
33 // and user's profile. Global property determines locale of login screen, 36 // and user's profile. Global property determines locale of login screen,
34 // while user's profile determines his personal locale preference. 37 // while user's profile determines his personal locale preference.
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 extern const char kManagedJavaScriptAllowedForUrls[]; 698 extern const char kManagedJavaScriptAllowedForUrls[];
696 extern const char kManagedJavaScriptBlockedForUrls[]; 699 extern const char kManagedJavaScriptBlockedForUrls[];
697 extern const char kManagedPluginsAllowedForUrls[]; 700 extern const char kManagedPluginsAllowedForUrls[];
698 extern const char kManagedPluginsBlockedForUrls[]; 701 extern const char kManagedPluginsBlockedForUrls[];
699 extern const char kManagedPopupsAllowedForUrls[]; 702 extern const char kManagedPopupsAllowedForUrls[];
700 extern const char kManagedPopupsBlockedForUrls[]; 703 extern const char kManagedPopupsBlockedForUrls[];
701 extern const char kManagedNotificationsAllowedForUrls[]; 704 extern const char kManagedNotificationsAllowedForUrls[];
702 extern const char kManagedNotificationsBlockedForUrls[]; 705 extern const char kManagedNotificationsBlockedForUrls[];
703 extern const char kManagedAutoSelectCertificateForUrls[]; 706 extern const char kManagedAutoSelectCertificateForUrls[];
704 707
708
Pam (message me for reviews) 2013/01/28 13:53:27 extra blank line
Adrian Kuegel 2013/01/28 15:41:44 Removed.
705 extern const char kAudioCaptureAllowed[]; 709 extern const char kAudioCaptureAllowed[];
706 extern const char kVideoCaptureAllowed[]; 710 extern const char kVideoCaptureAllowed[];
707 711
708 #if defined(OS_CHROMEOS) 712 #if defined(OS_CHROMEOS)
709 extern const char kDeviceSettingsCache[]; 713 extern const char kDeviceSettingsCache[];
710 extern const char kHardwareKeyboardLayout[]; 714 extern const char kHardwareKeyboardLayout[];
711 extern const char kCarrierDealPromoShown[]; 715 extern const char kCarrierDealPromoShown[];
712 extern const char kShouldAutoEnroll[]; 716 extern const char kShouldAutoEnroll[];
713 extern const char kAutoEnrollmentPowerLimit[]; 717 extern const char kAutoEnrollmentPowerLimit[];
714 extern const char kDeviceActivityTimes[]; 718 extern const char kDeviceActivityTimes[];
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 extern const char kLastPolicyStatisticsUpdate[]; 827 extern const char kLastPolicyStatisticsUpdate[];
824 828
825 #if defined(OS_CHROMEOS) 829 #if defined(OS_CHROMEOS)
826 extern const char kRLZBrand[]; 830 extern const char kRLZBrand[];
827 extern const char kRLZDisabled[]; 831 extern const char kRLZDisabled[];
828 #endif 832 #endif
829 833
830 } // namespace prefs 834 } // namespace prefs
831 835
832 #endif // CHROME_COMMON_PREF_NAMES_H_ 836 #endif // CHROME_COMMON_PREF_NAMES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698