| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/remote/remote_suggestions_provider_impl.h" | 5 #include "components/ntp_snippets/remote/remote_suggestions_provider_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <iterator> | 8 #include <iterator> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/feature_list.h" | 12 #include "base/feature_list.h" |
| 13 #include "base/location.h" | 13 #include "base/location.h" |
| 14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
| 15 #include "base/metrics/histogram_macros.h" | 15 #include "base/metrics/histogram_macros.h" |
| 16 #include "base/metrics/sparse_histogram.h" | 16 #include "base/metrics/sparse_histogram.h" |
| 17 #include "base/path_service.h" | 17 #include "base/path_service.h" |
| 18 #include "base/stl_util.h" | 18 #include "base/stl_util.h" |
| 19 #include "base/strings/string_number_conversions.h" | 19 #include "base/strings/string_number_conversions.h" |
| 20 #include "base/strings/utf_string_conversions.h" | 20 #include "base/strings/utf_string_conversions.h" |
| 21 #include "base/threading/thread_task_runner_handle.h" |
| 21 #include "base/time/default_clock.h" | 22 #include "base/time/default_clock.h" |
| 22 #include "base/time/time.h" | 23 #include "base/time/time.h" |
| 23 #include "base/values.h" | 24 #include "base/values.h" |
| 24 #include "components/data_use_measurement/core/data_use_user_data.h" | 25 #include "components/data_use_measurement/core/data_use_user_data.h" |
| 25 #include "components/history/core/browser/history_service.h" | 26 #include "components/history/core/browser/history_service.h" |
| 26 #include "components/image_fetcher/image_decoder.h" | 27 #include "components/image_fetcher/image_decoder.h" |
| 27 #include "components/image_fetcher/image_fetcher.h" | 28 #include "components/image_fetcher/image_fetcher.h" |
| 28 #include "components/ntp_snippets/category_rankers/category_ranker.h" | 29 #include "components/ntp_snippets/category_rankers/category_ranker.h" |
| 29 #include "components/ntp_snippets/features.h" | 30 #include "components/ntp_snippets/features.h" |
| 30 #include "components/ntp_snippets/pref_names.h" | 31 #include "components/ntp_snippets/pref_names.h" |
| (...skipping 1262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1293 RemoteSuggestionsProviderImpl::CategoryContent::CategoryContent( | 1294 RemoteSuggestionsProviderImpl::CategoryContent::CategoryContent( |
| 1294 CategoryContent&&) = default; | 1295 CategoryContent&&) = default; |
| 1295 | 1296 |
| 1296 RemoteSuggestionsProviderImpl::CategoryContent::~CategoryContent() = default; | 1297 RemoteSuggestionsProviderImpl::CategoryContent::~CategoryContent() = default; |
| 1297 | 1298 |
| 1298 RemoteSuggestionsProviderImpl::CategoryContent& | 1299 RemoteSuggestionsProviderImpl::CategoryContent& |
| 1299 RemoteSuggestionsProviderImpl::CategoryContent::operator=(CategoryContent&&) = | 1300 RemoteSuggestionsProviderImpl::CategoryContent::operator=(CategoryContent&&) = |
| 1300 default; | 1301 default; |
| 1301 | 1302 |
| 1302 } // namespace ntp_snippets | 1303 } // namespace ntp_snippets |
| OLD | NEW |