diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/pref_names.cc | 21 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 7 |
2 files changed, 16 insertions, 12 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index 84a8cc85..78ca687 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -874,27 +874,30 @@ const char kNTPMostVisitedURLsBlacklist[] = "ntp.most_visited_blacklist"; // Page. const char kNTPMostVisitedPinnedURLs[] = "ntp.pinned_urls"; -// Data downloaded from resource pages (JSON, RSS) to be displayed in the -// recommendations portion of the NTP. -const char kNTPTipsCache[] = "ntp.tips_cache"; +// Data downloaded from resource pages (JSON, RSS) to be used to dynamically +// deliver data for the new tab page. +const char kNTPWebResourceCache[] = "ntp.web_resource_cache"; -// Last time of update of tips_cache. -const char kNTPTipsCacheUpdate[] = "ntp.tips_cache_update"; +// Last time of update of web_resource_cache. +const char kNTPWebResourceCacheUpdate[] = "ntp.web_resource_cache_update"; -// Last server used to fill tips_cache. -const char kNTPTipsServer[] = "ntp.tips_server"; +// Last server used to fill web_resource_cache. +const char kNTPWebResourceServer[] = "ntp.web_resource_server"; // Which sections should be visible on the new tab page // 1 - Show the most visited sites in a grid // 2 - Show the most visited sites as a list // 4 - Show the recent section -// 8 - Show tips -// 16 - show sync status +// 8 - (Show tips -- DEPRECATED) +// 16 - Show sync status const char kNTPShownSections[] = "ntp.shown_sections"; // This pref is used for migrating the prefs for the NTP const char kNTPPrefVersion[] = "ntp.pref_version"; +// Used if the NTP should show a custom logo rather than the standard one. +const char kNTPCustomLogo[] = "ntp.custom_logo"; + // A boolean specifying whether dev tools window should be opened docked. const char kDevToolsOpenDocked[] = "devtools.open_docked"; diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index 1bacef4..c9ea3b6 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -321,11 +321,12 @@ extern const char kExtensionSidebarWidth[]; extern const char kNTPMostVisitedURLsBlacklist[]; extern const char kNTPMostVisitedPinnedURLs[]; -extern const char kNTPTipsCache[]; -extern const char kNTPTipsCacheUpdate[]; -extern const char kNTPTipsServer[]; +extern const char kNTPWebResourceCache[]; +extern const char kNTPWebResourceCacheUpdate[]; +extern const char kNTPWebResourceServer[]; extern const char kNTPShownSections[]; extern const char kNTPPrefVersion[]; +extern const char kNTPCustomLogo[]; extern const char kDevToolsOpenDocked[]; extern const char kDevToolsSplitLocation[]; |