OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 // Page. | 936 // Page. |
937 const char kNTPMostVisitedPinnedURLs[] = "ntp.pinned_urls"; | 937 const char kNTPMostVisitedPinnedURLs[] = "ntp.pinned_urls"; |
938 | 938 |
939 // Data downloaded from resource pages (JSON, RSS) to be used to dynamically | 939 // Data downloaded from resource pages (JSON, RSS) to be used to dynamically |
940 // deliver data for the new tab page. | 940 // deliver data for the new tab page. |
941 const char kNTPWebResourceCache[] = "ntp.web_resource_cache"; | 941 const char kNTPWebResourceCache[] = "ntp.web_resource_cache"; |
942 | 942 |
943 // Last time of update of web_resource_cache. | 943 // Last time of update of web_resource_cache. |
944 const char kNTPWebResourceCacheUpdate[] = "ntp.web_resource_cache_update"; | 944 const char kNTPWebResourceCacheUpdate[] = "ntp.web_resource_cache_update"; |
945 | 945 |
946 // Last server used to fill tips. | 946 // Serves resources for the NTP. |
| 947 const char kNTPWebResourceServer[] = "ntp.web_resource_server"; |
| 948 |
| 949 // Serves tips for the NTP. |
947 const char kNTPTipsResourceServer[] = "ntp.tips_resource_server"; | 950 const char kNTPTipsResourceServer[] = "ntp.tips_resource_server"; |
948 | 951 |
949 // Last server used to fill logo_resource_cache. | 952 // Serves dates to determine display of elements on the NTP. |
950 const char kNTPLogoResourceServer[] = "ntp.alt_logo_resource_server"; | 953 const char kNTPDateResourceServer[] = "ntp.date_resource_server"; |
951 | 954 |
952 // Which sections should be visible on the new tab page | 955 // Which sections should be visible on the new tab page |
953 // 1 - Show the most visited sites in a grid | 956 // 1 - Show the most visited sites in a grid |
954 // 2 - Show the most visited sites as a list | 957 // 2 - Show the most visited sites as a list |
955 // 4 - Show the recent section | 958 // 4 - Show the recent section |
956 // 8 - (Show tips -- DEPRECATED) | 959 // 8 - (Show tips -- DEPRECATED) |
957 // 16 - Show sync status | 960 // 16 - Show sync status |
958 const char kNTPShownSections[] = "ntp.shown_sections"; | 961 const char kNTPShownSections[] = "ntp.shown_sections"; |
959 | 962 |
960 // This pref is used for migrating the prefs for the NTP | 963 // This pref is used for migrating the prefs for the NTP |
961 const char kNTPPrefVersion[] = "ntp.pref_version"; | 964 const char kNTPPrefVersion[] = "ntp.pref_version"; |
962 | 965 |
963 // Dates between which the NTP should show a custom logo rather than the | 966 // Dates between which the NTP should show a custom logo rather than the |
964 // standard one. | 967 // standard one. |
965 const char kNTPCustomLogoStart[] = "ntp.alt_logo_start"; | 968 const char kNTPCustomLogoStart[] = "ntp.alt_logo_start"; |
966 const char kNTPCustomLogoEnd[] = "ntp.alt_logo_end"; | 969 const char kNTPCustomLogoEnd[] = "ntp.alt_logo_end"; |
967 | 970 |
| 971 // Dates between which the NTP should show a promotional line downloaded |
| 972 // from the promo server. |
| 973 const char kNTPPromoStart[] = "ntp.promo_start"; |
| 974 const char kNTPPromoEnd[] = "ntp.promo_end"; |
| 975 |
| 976 // Promo line from server. |
| 977 const char kNTPPromoLine[] = "ntp.promo_line"; |
| 978 |
| 979 // True if user has explicitly closed the promo line. |
| 980 const char kNTPPromoClosed[] = "ntp.promo_closed"; |
| 981 |
968 const char kDevToolsDisabled[] = "devtools.disabled"; | 982 const char kDevToolsDisabled[] = "devtools.disabled"; |
969 | 983 |
970 // A boolean specifying whether dev tools window should be opened docked. | 984 // A boolean specifying whether dev tools window should be opened docked. |
971 const char kDevToolsOpenDocked[] = "devtools.open_docked"; | 985 const char kDevToolsOpenDocked[] = "devtools.open_docked"; |
972 | 986 |
973 // Integer location of the split bar in the browser view. | 987 // Integer location of the split bar in the browser view. |
974 const char kDevToolsSplitLocation[] = "devtools.split_location"; | 988 const char kDevToolsSplitLocation[] = "devtools.split_location"; |
975 | 989 |
976 // 64-bit integer serialization of the base::Time when the last sync occurred. | 990 // 64-bit integer serialization of the base::Time when the last sync occurred. |
977 const char kSyncLastSyncedTime[] = "sync.last_synced_time"; | 991 const char kSyncLastSyncedTime[] = "sync.last_synced_time"; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1117 const char kManagedDefaultPluginsSetting[] = | 1131 const char kManagedDefaultPluginsSetting[] = |
1118 "profile.managed_default_content_settings.plugins"; | 1132 "profile.managed_default_content_settings.plugins"; |
1119 const char kManagedDefaultPopupsSetting[] = | 1133 const char kManagedDefaultPopupsSetting[] = |
1120 "profile.managed_default_content_settings.popups"; | 1134 "profile.managed_default_content_settings.popups"; |
1121 | 1135 |
1122 // Dictionary for storing the set of known background pages (keys are extension | 1136 // Dictionary for storing the set of known background pages (keys are extension |
1123 // IDs of background page owners, value is a boolean that is true if the user | 1137 // IDs of background page owners, value is a boolean that is true if the user |
1124 // needs to acknowledge this page. | 1138 // needs to acknowledge this page. |
1125 const char kKnownBackgroundPages[] = "background_pages.known"; | 1139 const char kKnownBackgroundPages[] = "background_pages.known"; |
1126 } // namespace prefs | 1140 } // namespace prefs |
OLD | NEW |