diff options
Diffstat (limited to 'chrome/browser/dom_ui/most_visited_handler.cc')
-rw-r--r-- | chrome/browser/dom_ui/most_visited_handler.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/most_visited_handler.cc b/chrome/browser/dom_ui/most_visited_handler.cc index f152dfe..3542198 100644 --- a/chrome/browser/dom_ui/most_visited_handler.cc +++ b/chrome/browser/dom_ui/most_visited_handler.cc @@ -132,9 +132,13 @@ void MostVisitedHandler::HandleGetMostVisited(const ListValue* args) { void MostVisitedHandler::SendPagesValue() { if (pages_value_.get()) { + history::TopSites* ts = dom_ui_->GetProfile()->GetTopSites(); FundamentalValue first_run(IsFirstRun()); + FundamentalValue has_blacklisted_urls(ts->HasBlacklistedItems()); dom_ui_->CallJavascriptFunction(L"mostVisitedPages", - *(pages_value_.get()), first_run); + *(pages_value_.get()), + first_run, + has_blacklisted_urls); pages_value_.reset(); } } |