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

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

Issue 12330008: Get rid of the ability to unregister preferences. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 #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 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 // A boolean pref of whether to show 3G promo notification. 780 // A boolean pref of whether to show 3G promo notification.
781 const char kShow3gPromoNotification[] = 781 const char kShow3gPromoNotification[] =
782 "settings.internet.mobile.show_3g_promo_notification"; 782 "settings.internet.mobile.show_3g_promo_notification";
783 783
784 // A string pref that contains version where "What's new" promo was shown. 784 // A string pref that contains version where "What's new" promo was shown.
785 const char kChromeOSReleaseNotesVersion[] = "settings.release_notes.version"; 785 const char kChromeOSReleaseNotesVersion[] = "settings.release_notes.version";
786 786
787 // A boolean pref that uses shared proxies. 787 // A boolean pref that uses shared proxies.
788 const char kUseSharedProxies[] = "settings.use_shared_proxies"; 788 const char kUseSharedProxies[] = "settings.use_shared_proxies";
789 789
790 // A string prefs for OAuth1 token.
791 const char kOAuth1Token[] = "settings.account.oauth1_token";
792
793 // A string prefs for OAuth1 secret.
794 const char kOAuth1Secret[] = "settings.account.oauth1_secret";
795
796 // A boolean pref that enables the (private) pepper GetID() call. 790 // A boolean pref that enables the (private) pepper GetID() call.
797 const char kEnableCrosDRM[] = "settings.privacy.drm_enabled"; 791 const char kEnableCrosDRM[] = "settings.privacy.drm_enabled";
798 792
799 // A dictionary pref that specifies per-display overscan data. Its key is the 793 // A dictionary pref that specifies per-display overscan data. Its key is the
800 // display's ID and its value is a dictionary of canceling overscan pixels for 794 // display's ID and its value is a dictionary of canceling overscan pixels for
801 // 'top', 'right', 'bottom', 'left'. 795 // 'top', 'right', 'bottom', 'left'.
802 const char kDisplayOverscans[] = "settings.display.overscans"; 796 const char kDisplayOverscans[] = "settings.display.overscans";
803 797
804 // A 64bit integer pref that specifies the name of the primary display device. 798 // A 64bit integer pref that specifies the name of the primary display device.
805 const char kPrimaryDisplayID[] = "settings.display.primary_id"; 799 const char kPrimaryDisplayID[] = "settings.display.primary_id";
(...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after
2313 const char kRLZDisabled[] = "rlz.disabled"; 2307 const char kRLZDisabled[] = "rlz.disabled";
2314 #endif 2308 #endif
2315 2309
2316 #if defined(ENABLE_APP_LIST) 2310 #if defined(ENABLE_APP_LIST)
2317 // The directory in user data dir that contains the profile to be used with the 2311 // The directory in user data dir that contains the profile to be used with the
2318 // app launcher. 2312 // app launcher.
2319 extern const char kAppListProfile[] = "app_list.profile"; 2313 extern const char kAppListProfile[] = "app_list.profile";
2320 #endif 2314 #endif
2321 2315
2322 } // namespace prefs 2316 } // namespace prefs
OLDNEW
« chrome/browser/ui/prefs/prefs_tab_helper.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698