| 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 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1140 | 1140 |
| 1141 // Serves promo resources for the NTP. | 1141 // Serves promo resources for the NTP. |
| 1142 const char kNTPPromoResourceServer[] = "ntp.web_resource_server"; | 1142 const char kNTPPromoResourceServer[] = "ntp.web_resource_server"; |
| 1143 | 1143 |
| 1144 // Serves tips for the NTP. | 1144 // Serves tips for the NTP. |
| 1145 const char kNTPTipsResourceServer[] = "ntp.tips_resource_server"; | 1145 const char kNTPTipsResourceServer[] = "ntp.tips_resource_server"; |
| 1146 | 1146 |
| 1147 // Serves dates to determine display of elements on the NTP. | 1147 // Serves dates to determine display of elements on the NTP. |
| 1148 const char kNTPDateResourceServer[] = "ntp.date_resource_server"; | 1148 const char kNTPDateResourceServer[] = "ntp.date_resource_server"; |
| 1149 | 1149 |
| 1150 // Which bookmarks folder should be visible on the new tab page v4. |
| 1151 const char kNTPShownBookmarksFolder[] = "ntp.shown_bookmarks_folder"; |
| 1152 |
| 1150 // Which page should be visible on the new tab page v4 | 1153 // Which page should be visible on the new tab page v4 |
| 1151 const char kNTPShownPage[] = "ntp.shown_page"; | 1154 const char kNTPShownPage[] = "ntp.shown_page"; |
| 1152 | 1155 |
| 1153 // Which sections should be visible on the new tab page | 1156 // Which sections should be visible on the new tab page |
| 1154 // 1 - Show the most visited sites in a grid | 1157 // 1 - Show the most visited sites in a grid |
| 1155 // 2 - Show the most visited sites as a list | 1158 // 2 - Show the most visited sites as a list |
| 1156 // 4 - Show the recent section | 1159 // 4 - Show the recent section |
| 1157 // 8 - (Show tips -- DEPRECATED) | 1160 // 8 - (Show tips -- DEPRECATED) |
| 1158 // 16 - Show sync status | 1161 // 16 - Show sync status |
| 1159 const char kNTPShownSections[] = "ntp.shown_sections"; | 1162 const char kNTPShownSections[] = "ntp.shown_sections"; |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1470 // specified. | 1473 // specified. |
| 1471 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1474 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
| 1472 | 1475 |
| 1473 // Integers that specify the policy refresh rate for device- and user-policy in | 1476 // Integers that specify the policy refresh rate for device- and user-policy in |
| 1474 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1477 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
| 1475 // by the cloud policy subsystem. | 1478 // by the cloud policy subsystem. |
| 1476 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1479 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
| 1477 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1480 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
| 1478 | 1481 |
| 1479 } // namespace prefs | 1482 } // namespace prefs |
| OLD | NEW |