Index: chrome/browser/dom_ui/most_visited_handler.cc |
diff --git a/chrome/browser/dom_ui/most_visited_handler.cc b/chrome/browser/dom_ui/most_visited_handler.cc |
index 9a045d8bc956b02d4a8298364138ed5efe6e81ea..66097f0ab5eb9ec8e1cdff289cbf78516447939f 100644 |
--- a/chrome/browser/dom_ui/most_visited_handler.cc |
+++ b/chrome/browser/dom_ui/most_visited_handler.cc |
@@ -127,17 +127,6 @@ void MostVisitedHandler::HandleGetMostVisited(const ListValue* args) { |
} |
} |
-// Set a DictionaryValue |dict| from a MostVisitedURL. |
-void SetDictionaryValue(const history::MostVisitedURL& url, |
- DictionaryValue& dict) { |
- NewTabUI::SetURLTitleAndDirection(&dict, url.title, url.url); |
- dict.SetString("url", url.url.spec()); |
- dict.SetString("faviconUrl", url.favicon_url.spec()); |
- // TODO(Nik): Need thumbnailUrl? |
- // TODO(Nik): Add pinned and blacklisted URLs. |
- dict.SetBoolean("pinned", false); |
-} |
- |
void MostVisitedHandler::SendPagesValue() { |
if (pages_value_.get()) { |
FundamentalValue first_run(IsFirstRun()); |