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

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

Issue 11299035: Support manual (white|black)list, previewing and allowing after interstitial (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Allow/block flow which includes preview mode. Created 8 years 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 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history"; 813 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history";
814 const char kDeleteCache[] = "browser.clear_data.cache"; 814 const char kDeleteCache[] = "browser.clear_data.cache";
815 const char kDeleteCookies[] = "browser.clear_data.cookies"; 815 const char kDeleteCookies[] = "browser.clear_data.cookies";
816 const char kDeletePasswords[] = "browser.clear_data.passwords"; 816 const char kDeletePasswords[] = "browser.clear_data.passwords";
817 const char kDeleteFormData[] = "browser.clear_data.form_data"; 817 const char kDeleteFormData[] = "browser.clear_data.form_data";
818 const char kDeleteHostedAppsData[] = "browser.clear_data.hosted_apps_data"; 818 const char kDeleteHostedAppsData[] = "browser.clear_data.hosted_apps_data";
819 const char kDeauthorizeContentLicenses[] = 819 const char kDeauthorizeContentLicenses[] =
820 "browser.clear_data.content_licenses"; 820 "browser.clear_data.content_licenses";
821 const char kDeleteTimePeriod[] = "browser.clear_data.time_period"; 821 const char kDeleteTimePeriod[] = "browser.clear_data.time_period";
822 822
823 //Family Control Prefs 823 // Family Control Prefs
824 //Boolean pref controlling whether history deleting is disabled 824 // Boolean pref controlling whether history deleting is disabled
825 const char kDeletingBrowserHistoryDisabled[] = "history.deleting_disabled"; 825 const char kDeletingBrowserHistoryDisabled[] = "history.deleting_disabled";
826 826
827 // Pref to prevent syncing on sign in. 827 // Pref to prevent syncing on sign in.
828 const char kDisableSigninSync[] = "signin.sync_disabled"; 828 const char kDisableSigninSync[] = "signin.sync_disabled";
829 829
830 //An integer pref. Holds one of three values: 830 // An integer pref. Holds one of three values:
831 // 0: allow sites outside of the family packs for a managed user. 831 // 0: allow sites outside of the family packs for a managed user.
832 // 1: warn user if they try to access sites outside of the family packs. 832 // 1: warn user if they try to access sites outside of the family packs.
833 // 2: block sites outside of the family packs for a managed user. 833 // 2: block sites outside of the family packs for a managed user.
834 const char kFamilyPackOptions[] = "browser.family_pack_options"; 834 const char kFamilyPackOptions[] = "browser.family_pack_options";
835 835
836 // A boolean pref controlling the use of a password to lock chrome 836 // A boolean pref controlling the use of a password to lock chrome
837 const char kChildLockDisabled[] = "child.locking_disabled"; 837 const char kChildLockDisabled[] = "child.locking_disabled";
838 838
839 // Boolean pref to define the default values for using spellchecker. 839 // Boolean pref to define the default values for using spellchecker.
840 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; 840 const char kEnableSpellCheck[] = "browser.enable_spellchecking";
(...skipping 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after
2139 const char kFlingAccelerationCurveCoefficient1[] = 2139 const char kFlingAccelerationCurveCoefficient1[] =
2140 "gesture.fling_acceleration_curve_coefficient_1"; 2140 "gesture.fling_acceleration_curve_coefficient_1";
2141 const char kFlingAccelerationCurveCoefficient2[] = 2141 const char kFlingAccelerationCurveCoefficient2[] =
2142 "gesture.fling_acceleration_curve_coefficient_2"; 2142 "gesture.fling_acceleration_curve_coefficient_2";
2143 const char kFlingAccelerationCurveCoefficient3[] = 2143 const char kFlingAccelerationCurveCoefficient3[] =
2144 "gesture.fling_acceleration_curve_coefficient_3"; 2144 "gesture.fling_acceleration_curve_coefficient_3";
2145 #endif 2145 #endif
2146 2146
2147 // Indicates whether the browser is in managed mode. 2147 // Indicates whether the browser is in managed mode.
2148 const char kInManagedMode[] = "managed_mode"; 2148 const char kInManagedMode[] = "managed_mode";
2149 // Whitelist for manually approved pages. 2149 // List of pages that are manually approved.
2150 const char kManagedModeWhitelist[] = "managed_mode.whitelist"; 2150 const char kManagedModeWhitelist[] = "managed_mode.whitelist";
Bernhard Bauer 2012/11/26 16:06:30 Could you change this to "profile.managed.whitelis
Sergiu 2012/11/27 15:37:34 Done.
2151 // Blacklist for manually blocked pages. 2151 // List of pages that are manually blocked.
2152 const char kManagedModeBlacklist[] = "managed_mode.blacklist"; 2152 const char kManagedModeBlacklist[] = "managed_mode.blacklist";
2153 2153
2154 // Counts how many more times the 'profile on a network share' warning should be 2154 // Counts how many more times the 'profile on a network share' warning should be
2155 // shown to the user before the next silence period. 2155 // shown to the user before the next silence period.
2156 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 2156 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
2157 // Tracks the time of the last shown warning. Used to reset 2157 // Tracks the time of the last shown warning. Used to reset
2158 // |network_profile.warnings_left| after a silence period. 2158 // |network_profile.warnings_left| after a silence period.
2159 const char kNetworkProfileLastWarningTime[] = 2159 const char kNetworkProfileLastWarningTime[] =
2160 "network_profile.last_warning_time"; 2160 "network_profile.last_warning_time";
2161 2161
2162 // 64-bit serialization of the time last policy usage statistics were collected 2162 // 64-bit serialization of the time last policy usage statistics were collected
2163 // by UMA_HISTOGRAM_ENUMERATION. 2163 // by UMA_HISTOGRAM_ENUMERATION.
2164 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2164 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2165 2165
2166 } // namespace prefs 2166 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698