OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1015 const char kNTPShownSections[] = "ntp.shown_sections"; | 1015 const char kNTPShownSections[] = "ntp.shown_sections"; |
1016 | 1016 |
1017 // This pref is used for migrating the prefs for the NTP | 1017 // This pref is used for migrating the prefs for the NTP |
1018 const char kNTPPrefVersion[] = "ntp.pref_version"; | 1018 const char kNTPPrefVersion[] = "ntp.pref_version"; |
1019 | 1019 |
1020 // Dates between which the NTP should show a custom logo rather than the | 1020 // Dates between which the NTP should show a custom logo rather than the |
1021 // standard one. | 1021 // standard one. |
1022 const char kNTPCustomLogoStart[] = "ntp.alt_logo_start"; | 1022 const char kNTPCustomLogoStart[] = "ntp.alt_logo_start"; |
1023 const char kNTPCustomLogoEnd[] = "ntp.alt_logo_end"; | 1023 const char kNTPCustomLogoEnd[] = "ntp.alt_logo_end"; |
1024 | 1024 |
| 1025 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. |
| 1026 const char kNTPPromoBuild[] = "ntp.promo_build"; |
| 1027 |
| 1028 // True if user has explicitly closed the promo line. |
| 1029 const char kNTPPromoClosed[] = "ntp.promo_closed"; |
| 1030 |
| 1031 // Users are randomly divided into 16 groups in order to slowly roll out |
| 1032 // special promos. |
| 1033 const char kNTPPromoGroup[] = "ntp.promo_group"; |
| 1034 |
| 1035 // Amount of time each promo group should be shown a promo that is being slowly |
| 1036 // rolled out, in hours. |
| 1037 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice"; |
| 1038 |
| 1039 // Promo line from server. |
| 1040 const char kNTPPromoLine[] = "ntp.promo_line"; |
| 1041 |
1025 // Dates between which the NTP should show a promotional line downloaded | 1042 // Dates between which the NTP should show a promotional line downloaded |
1026 // from the promo server. | 1043 // from the promo server. |
1027 const char kNTPPromoStart[] = "ntp.promo_start"; | 1044 const char kNTPPromoStart[] = "ntp.promo_start"; |
1028 const char kNTPPromoEnd[] = "ntp.promo_end"; | 1045 const char kNTPPromoEnd[] = "ntp.promo_end"; |
1029 | 1046 |
1030 // Promo line from server. | |
1031 const char kNTPPromoLine[] = "ntp.promo_line"; | |
1032 | |
1033 // True if user has explicitly closed the promo line. | |
1034 const char kNTPPromoClosed[] = "ntp.promo_closed"; | |
1035 | |
1036 const char kDevToolsDisabled[] = "devtools.disabled"; | 1047 const char kDevToolsDisabled[] = "devtools.disabled"; |
1037 | 1048 |
1038 // A boolean specifying whether dev tools window should be opened docked. | 1049 // A boolean specifying whether dev tools window should be opened docked. |
1039 const char kDevToolsOpenDocked[] = "devtools.open_docked"; | 1050 const char kDevToolsOpenDocked[] = "devtools.open_docked"; |
1040 | 1051 |
1041 // Integer location of the split bar in the browser view. | 1052 // Integer location of the split bar in the browser view. |
1042 const char kDevToolsSplitLocation[] = "devtools.split_location"; | 1053 const char kDevToolsSplitLocation[] = "devtools.split_location"; |
1043 | 1054 |
1044 // 64-bit integer serialization of the base::Time when the last sync occurred. | 1055 // 64-bit integer serialization of the base::Time when the last sync occurred. |
1045 const char kSyncLastSyncedTime[] = "sync.last_synced_time"; | 1056 const char kSyncLastSyncedTime[] = "sync.last_synced_time"; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1189 const char kManagedDefaultPluginsSetting[] = | 1200 const char kManagedDefaultPluginsSetting[] = |
1190 "profile.managed_default_content_settings.plugins"; | 1201 "profile.managed_default_content_settings.plugins"; |
1191 const char kManagedDefaultPopupsSetting[] = | 1202 const char kManagedDefaultPopupsSetting[] = |
1192 "profile.managed_default_content_settings.popups"; | 1203 "profile.managed_default_content_settings.popups"; |
1193 | 1204 |
1194 // Dictionary for storing the set of known background pages (keys are extension | 1205 // Dictionary for storing the set of known background pages (keys are extension |
1195 // IDs of background page owners, value is a boolean that is true if the user | 1206 // IDs of background page owners, value is a boolean that is true if the user |
1196 // needs to acknowledge this page. | 1207 // needs to acknowledge this page. |
1197 const char kKnownBackgroundPages[] = "background_pages.known"; | 1208 const char kKnownBackgroundPages[] = "background_pages.known"; |
1198 } // namespace prefs | 1209 } // namespace prefs |
OLD | NEW |