Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4904)

Unified Diff: chrome/browser/dom_ui/most_visited_handler.h

Issue 6283001: Remove TopSites::IsEnabled() as well as related dead code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove OnThumbnailDataAvailable Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/dom_ui/dom_ui_thumbnail_source.cc ('k') | chrome/browser/dom_ui/most_visited_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/most_visited_handler.h
diff --git a/chrome/browser/dom_ui/most_visited_handler.h b/chrome/browser/dom_ui/most_visited_handler.h
index 469aad93103c7b1f8468340df3a83917ebea6899..c0a78e2789dafc715164f630ee4c61970cfdecb0 100644
--- a/chrome/browser/dom_ui/most_visited_handler.h
+++ b/chrome/browser/dom_ui/most_visited_handler.h
@@ -73,13 +73,6 @@ class MostVisitedHandler : public DOMMessageHandler,
// Send a request to the HistoryService to get the most visited pages.
void StartQueryForMostVisited();
- // Callback from the history system when the most visited list is available.
- void OnSegmentUsageAvailable(CancelableRequestProvider::Handle handle,
- std::vector<PageUsageData*>* data);
-
- // Sets pages_value_ from a vector of URLs.
- void SetPagesValue(std::vector<PageUsageData*>* data);
-
// Sets pages_value_ from a format produced by TopSites.
void SetPagesValueFromTopSites(const history::MostVisitedURLList& data);
@@ -106,11 +99,6 @@ class MostVisitedHandler : public DOMMessageHandler,
// Returns true if we should treat this as the first run of the new tab page.
bool IsFirstRun();
- // Adds the fields in the page to the dictionary.
- static void SetMostVisistedPage(
- DictionaryValue* dict,
- const MostVisitedHandler::MostVisitedPage& page);
-
static const std::vector<MostVisitedPage>& GetPrePopulatedPages();
NotificationRegistrar registrar_;
« no previous file with comments | « chrome/browser/dom_ui/dom_ui_thumbnail_source.cc ('k') | chrome/browser/dom_ui/most_visited_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698