summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/top_sites.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-21 03:24:49 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-21 03:24:49 +0000
commit2ec53b5e7018ed63499e0a4fab557f820b03fc53 (patch)
tree3a38d3a7c52cf844cd1d1cf5867e1af18330397e /chrome/browser/history/top_sites.h
parent18d4b6cecb490ffa3dcb53cfad7ca0ad695217c4 (diff)
downloadchromium_src-2ec53b5e7018ed63499e0a4fab557f820b03fc53.zip
chromium_src-2ec53b5e7018ed63499e0a4fab557f820b03fc53.tar.gz
chromium_src-2ec53b5e7018ed63499e0a4fab557f820b03fc53.tar.bz2
Disables top sites until we get it in a better shape.
BUG=40313 TEST=see bug. aocampo has some test cases too. Review URL: http://codereview.chromium.org/3412015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/top_sites.h')
-rw-r--r--chrome/browser/history/top_sites.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/history/top_sites.h b/chrome/browser/history/top_sites.h
index 1b57a61..c491066 100644
--- a/chrome/browser/history/top_sites.h
+++ b/chrome/browser/history/top_sites.h
@@ -56,6 +56,9 @@ class TopSites :
public:
explicit TopSites(Profile* profile);
+ // Returns whether top sites is enabled.
+ static bool IsEnabled();
+
class MockHistoryService {
// A mockup of a HistoryService used for testing TopSites.
public: