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

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: Minor changes Created 7 years, 11 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 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 // This is the URL of the page to load when opening new tabs. 27 // This is the URL of the page to load when opening new tabs.
28 const char kHomePage[] = "homepage"; 28 const char kHomePage[] = "homepage";
29 29
30 // Did the user change the home page after install? 30 // Did the user change the home page after install?
31 const char kHomePageChanged[] = "homepage_changed"; 31 const char kHomePageChanged[] = "homepage_changed";
32 32
33 // Does this user have a Google+ Profile? 33 // Does this user have a Google+ Profile?
34 const char kIsGooglePlusUser[] = "is_google_plus_user"; 34 const char kIsGooglePlusUser[] = "is_google_plus_user";
35 35
36 // List of pages that are manually approved.
37 const char kManagedModeWhitelist[] = "profile.managed.whitelist";
38 // List of pages that are manually blocked.
39 const char kManagedModeBlacklist[] = "profile.managed.blacklist";
40
36 // Used to determine if the last session exited cleanly. Set to false when 41 // Used to determine if the last session exited cleanly. Set to false when
37 // first opened, and to true when closing. On startup if the value is false, 42 // first opened, and to true when closing. On startup if the value is false,
38 // it means the profile didn't exit cleanly. 43 // it means the profile didn't exit cleanly.
39 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards 44 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards
40 // compatability. 45 // compatability.
41 const char kSessionExitedCleanly[] = "profile.exited_cleanly"; 46 const char kSessionExitedCleanly[] = "profile.exited_cleanly";
42 47
43 // A string pref whose values is one of the values defined by 48 // A string pref whose values is one of the values defined by
44 // |ProfileImpl::kPrefExitTypeXXX|. Set to |kPrefExitTypeCrashed| on startup and 49 // |ProfileImpl::kPrefExitTypeXXX|. Set to |kPrefExitTypeCrashed| on startup and
45 // one of |kPrefExitTypeNormal| or |kPrefExitTypeSessionEnded| during 50 // one of |kPrefExitTypeNormal| or |kPrefExitTypeSessionEnded| during
(...skipping 2167 matching lines...) Expand 10 before | Expand all | Expand 10 after
2213 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2218 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2214 2219
2215 #if defined(OS_CHROMEOS) 2220 #if defined(OS_CHROMEOS)
2216 // The RLZ brand code, if enabled. 2221 // The RLZ brand code, if enabled.
2217 const char kRLZBrand[] = "rlz.brand"; 2222 const char kRLZBrand[] = "rlz.brand";
2218 // Whether RLZ pings are disabled. 2223 // Whether RLZ pings are disabled.
2219 const char kRLZDisabled[] = "rlz.disabled"; 2224 const char kRLZDisabled[] = "rlz.disabled";
2220 #endif 2225 #endif
2221 2226
2222 } // namespace prefs 2227 } // 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