summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/top_sites.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-12 22:17:26 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-12 22:17:26 +0000
commitc0d08e0a834e0b9e8c3a367452708f8f1624f721 (patch)
treedb1ba71d6f77c6cdf8778ab3c85e4e01ace8a073 /chrome/browser/history/top_sites.h
parenta5545a2c04a692492362da278c2c0b6215d22f48 (diff)
downloadchromium_src-c0d08e0a834e0b9e8c3a367452708f8f1624f721.zip
chromium_src-c0d08e0a834e0b9e8c3a367452708f8f1624f721.tar.gz
chromium_src-c0d08e0a834e0b9e8c3a367452708f8f1624f721.tar.bz2
Resource cleanup and de-duping
- remove duplicate code between most_visited_handler.cc and top_sites.cc - remove dead code in most_visited_handler.cc - remove duplicate favicon resources - update favicon resources by adding 32x32s resource for NTP stock most visited pages - uniformly refer to PRODUCT_NAME rather than sometimes using "google chrome" in chromium builds on the NTP - consolidate some resources (IDR_CHROME_STORE_PAGE_FAVICON and IDR_WESBTORE_ICON_16 for example) - remove unused thumbnail for webstore (which is slightly distinct from the themes gallery because there's no &category=theme in the URL) as a precursor, I had to add an icon to chrome/app/theme/google_chrome (internal repository) as a cleanup after, I will have to remove an icon from the same BUG=none TEST=trybots; manual Review URL: http://codereview.chromium.org/7342001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92249 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/top_sites.h')
-rw-r--r--chrome/browser/history/top_sites.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/history/top_sites.h b/chrome/browser/history/top_sites.h
index fc99b28..fc508246 100644
--- a/chrome/browser/history/top_sites.h
+++ b/chrome/browser/history/top_sites.h
@@ -170,6 +170,9 @@ class TopSites
// TopSites isn't loaded yet.
virtual bool IsFull();
+ // Returns the set of prepopulate pages.
+ static MostVisitedURLList GetPrepopulatePages();
+
protected:
// For allowing inheritance.
virtual ~TopSites();
@@ -243,9 +246,6 @@ class TopSites
static int GetRedirectDistanceForURL(const MostVisitedURL& most_visited,
const GURL& url);
- // Returns the set of prepopulate pages.
- static MostVisitedURLList GetPrepopulatePages();
-
// Add prepopulated pages: 'welcome to Chrome' and themes gallery to |urls|.
// Returns true if any pages were added.
static bool AddPrepopulatedPages(MostVisitedURLList* urls);