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

Unified Diff: chrome/browser/ui/webui/ntp/suggestions_combiner.cc

Issue 10825020: Moved Discovery out of the Suggested Page (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Moving Discovery from the Suggestions Page Created 8 years, 5 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
Index: chrome/browser/ui/webui/ntp/suggestions_combiner.cc
diff --git a/chrome/browser/ui/webui/ntp/suggestions_combiner.cc b/chrome/browser/ui/webui/ntp/suggestions_combiner.cc
index e8d5636a4526721584fbb9a5807fb6c97b7b77d7..925ce9ea1a219c37fd7a09125db614d59ada3829 100644
--- a/chrome/browser/ui/webui/ntp/suggestions_combiner.cc
+++ b/chrome/browser/ui/webui/ntp/suggestions_combiner.cc
@@ -16,7 +16,6 @@
#include "chrome/browser/ui/webui/ntp/suggestions_page_handler.h"
#include "chrome/browser/ui/webui/ntp/suggestions_source.h"
#include "chrome/browser/ui/webui/ntp/suggestions_source_discovery.h"
-#include "chrome/browser/ui/webui/ntp/suggestions_source_top_sites.h"
#include "content/public/browser/web_contents.h"
namespace {
@@ -80,8 +79,6 @@ void SuggestionsCombiner::SetSuggestionsCount(size_t suggestions_count) {
SuggestionsCombiner* SuggestionsCombiner::Create(
SuggestionsCombiner::Delegate* delegate, Profile* profile) {
SuggestionsCombiner* combiner = new SuggestionsCombiner(delegate, profile);
- combiner->AddSource(new SuggestionsSourceTopSites());
-
extensions::SuggestedLinksRegistry* registry =
extensions::SuggestedLinksRegistryFactory::GetForProfile(profile);
scoped_ptr<std::vector<std::string> > list = registry->GetExtensionIds();
« no previous file with comments | « chrome/browser/ui/webui/ntp/suggestions_combiner.h ('k') | chrome/browser/ui/webui/ntp/suggestions_page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698