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

Side by Side Diff: components/ntp_snippets/content_suggestions_provider.cc

Issue 2568033005: [NTP::SectionOrder] Replace CategoryFactory with a category ranker. (Closed)
Patch Set: rebase. Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/ntp_snippets/content_suggestions_provider.h" 5 #include "components/ntp_snippets/content_suggestions_provider.h"
6 6
7 #include "components/ntp_snippets/category_factory.h"
8
9 namespace ntp_snippets { 7 namespace ntp_snippets {
10 8
11 ContentSuggestionsProvider::ContentSuggestionsProvider( 9 ContentSuggestionsProvider::ContentSuggestionsProvider(Observer* observer)
12 Observer* observer, 10 : observer_(observer) {}
13 CategoryFactory* category_factory)
14 : observer_(observer), category_factory_(category_factory) {}
15 11
16 ContentSuggestionsProvider::~ContentSuggestionsProvider() = default; 12 ContentSuggestionsProvider::~ContentSuggestionsProvider() = default;
17 13
18 } // namespace ntp_snippets 14 } // namespace ntp_snippets
OLDNEW
« no previous file with comments | « components/ntp_snippets/content_suggestions_provider.h ('k') | components/ntp_snippets/content_suggestions_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698