Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 1408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1419 // Keeps track of which sessions are collapsed in the Other Devices menu. | 1419 // Keeps track of which sessions are collapsed in the Other Devices menu. |
| 1420 const char kNtpCollapsedForeignSessions[] = "ntp.collapsed_foreign_sessions"; | 1420 const char kNtpCollapsedForeignSessions[] = "ntp.collapsed_foreign_sessions"; |
| 1421 | 1421 |
| 1422 // New Tab Page URLs that should not be shown as most visited thumbnails. | 1422 // New Tab Page URLs that should not be shown as most visited thumbnails. |
| 1423 const char kNtpMostVisitedURLsBlacklist[] = "ntp.most_visited_blacklist"; | 1423 const char kNtpMostVisitedURLsBlacklist[] = "ntp.most_visited_blacklist"; |
| 1424 | 1424 |
| 1425 // Data downloaded from promo resource pages (JSON, RSS) to be used to | 1425 // Data downloaded from promo resource pages (JSON, RSS) to be used to |
| 1426 // dynamically deliver data for the new tab page. | 1426 // dynamically deliver data for the new tab page. |
| 1427 const char kNtpPromoResourceCache[] = "ntp.promo_resource_cache"; | 1427 const char kNtpPromoResourceCache[] = "ntp.promo_resource_cache"; |
| 1428 | 1428 |
| 1429 #if defined(ENABLE_PROMO_RESOURCE_SERVICE) | |
| 1430 // Last time of update of promo_resource_cache. | 1429 // Last time of update of promo_resource_cache. |
| 1431 const char kNtpPromoResourceCacheUpdate[] = "ntp.promo_resource_cache_update"; | 1430 const char kNtpPromoResourceCacheUpdate[] = "ntp.promo_resource_cache_update"; |
| 1432 #endif | |
| 1433 | 1431 |
| 1434 // Serves promo resources for the NTP. | 1432 // Serves promo resources for the NTP. |
| 1435 const char kNtpPromoResourceServer[] = "ntp.web_resource_server"; | 1433 const char kNtpPromoResourceServer[] = "ntp.web_resource_server"; |
| 1436 | 1434 |
| 1437 // Serves tips for the NTP. | 1435 // Serves tips for the NTP. |
| 1438 const char kNtpTipsResourceServer[] = "ntp.tips_resource_server"; | 1436 const char kNtpTipsResourceServer[] = "ntp.tips_resource_server"; |
| 1439 | 1437 |
| 1440 // Serves dates to determine display of elements on the NTP. | 1438 // Serves dates to determine display of elements on the NTP. |
| 1441 const char kNtpDateResourceServer[] = "ntp.date_resource_server"; | 1439 const char kNtpDateResourceServer[] = "ntp.date_resource_server"; |
| 1442 | 1440 |
| 1443 // Which bookmarks folder should be visible on the new tab page v4. | 1441 // Which bookmarks folder should be visible on the new tab page v4. |
| 1444 const char kNtpShownBookmarksFolder[] = "ntp.shown_bookmarks_folder"; | 1442 const char kNtpShownBookmarksFolder[] = "ntp.shown_bookmarks_folder"; |
| 1445 | 1443 |
| 1446 // Which page should be visible on the new tab page v4 | 1444 // Which page should be visible on the new tab page v4 |
| 1447 const char kNtpShownPage[] = "ntp.shown_page"; | 1445 const char kNtpShownPage[] = "ntp.shown_page"; |
| 1448 | 1446 |
| 1449 #if defined(ENABLE_PROMO_RESOURCE_SERVICE) | |
| 1450 // Dates between which the NTP should show a custom logo rather than the | 1447 // Dates between which the NTP should show a custom logo rather than the |
| 1451 // standard one. | 1448 // standard one. |
| 1452 const char kNtpCustomLogoStart[] = "ntp.alt_logo_start"; | 1449 const char kNtpCustomLogoStart[] = "ntp.alt_logo_start"; |
|
achuithb
2012/07/17 14:44:38
I think these are deprecated. Could you add a TODO
aruslan
2012/07/17 16:08:51
Done.
| |
| 1453 const char kNtpCustomLogoEnd[] = "ntp.alt_logo_end"; | 1450 const char kNtpCustomLogoEnd[] = "ntp.alt_logo_end"; |
| 1454 #endif | |
| 1455 | 1451 |
| 1456 // The promo resource service version number. | 1452 // The promo resource service version number. |
| 1457 const char kNtpPromoVersion[] = "ntp.promo_version"; | 1453 const char kNtpPromoVersion[] = "ntp.promo_version"; |
| 1458 | 1454 |
| 1459 // The last locale the promo was fetched for. | 1455 // The last locale the promo was fetched for. |
| 1460 const char kNtpPromoLocale[] = "ntp.promo_locale"; | 1456 const char kNtpPromoLocale[] = "ntp.promo_locale"; |
| 1461 | 1457 |
| 1462 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. | 1458 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. |
| 1463 const char kNtpPromoBuild[] = "ntp.promo_build"; | 1459 const char kNtpPromoBuild[] = "ntp.promo_build"; |
| 1464 | 1460 |
| (...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1987 const char kNetworkProfileLastWarningTime[] = | 1983 const char kNetworkProfileLastWarningTime[] = |
| 1988 "network_profile.last_warning_time"; | 1984 "network_profile.last_warning_time"; |
| 1989 | 1985 |
| 1990 #if defined(OS_MACOSX) | 1986 #if defined(OS_MACOSX) |
| 1991 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. | 1987 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. |
| 1992 const char kMacLeopardObsoleteInfobarLastShown[] = | 1988 const char kMacLeopardObsoleteInfobarLastShown[] = |
| 1993 "mac_105_obsolete_infobar_last_shown"; | 1989 "mac_105_obsolete_infobar_last_shown"; |
| 1994 #endif // defined(OS_MACOSX) | 1990 #endif // defined(OS_MACOSX) |
| 1995 | 1991 |
| 1996 } // namespace prefs | 1992 } // namespace prefs |
| OLD | NEW |