| OLD | NEW |
| 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 |
| OLD | NEW |