| 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/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/command_line.h" | 12 #include "base/command_line.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/stl_util.h" | 17 #include "base/stl_util.h" |
| 18 #include "base/strings/string_number_conversions.h" | 18 #include "base/strings/string_number_conversions.h" |
| 19 #include "base/threading/thread_task_runner_handle.h" | 19 #include "base/threading/thread_task_runner_handle.h" |
| 20 #include "base/time/default_clock.h" | 20 #include "base/time/default_clock.h" |
| 21 #include "base/time/time.h" | 21 #include "base/time/time.h" |
| 22 #include "base/values.h" | 22 #include "base/values.h" |
| 23 #include "components/data_use_measurement/core/data_use_user_data.h" | 23 #include "components/data_use_measurement/core/data_use_user_data.h" |
| 24 #include "components/image_fetcher/image_decoder.h" | 24 #include "components/image_fetcher/core/image_decoder.h" |
| 25 #include "components/image_fetcher/image_fetcher.h" | 25 #include "components/image_fetcher/core/image_fetcher.h" |
| 26 #include "components/ntp_snippets/category_rankers/category_ranker.h" | 26 #include "components/ntp_snippets/category_rankers/category_ranker.h" |
| 27 #include "components/ntp_snippets/pref_names.h" | 27 #include "components/ntp_snippets/pref_names.h" |
| 28 #include "components/ntp_snippets/remote/remote_suggestions_database.h" | 28 #include "components/ntp_snippets/remote/remote_suggestions_database.h" |
| 29 #include "components/ntp_snippets/remote/remote_suggestions_scheduler.h" | 29 #include "components/ntp_snippets/remote/remote_suggestions_scheduler.h" |
| 30 #include "components/ntp_snippets/switches.h" | 30 #include "components/ntp_snippets/switches.h" |
| 31 #include "components/prefs/pref_registry_simple.h" | 31 #include "components/prefs/pref_registry_simple.h" |
| 32 #include "components/prefs/pref_service.h" | 32 #include "components/prefs/pref_service.h" |
| 33 #include "components/strings/grit/components_strings.h" | 33 #include "components/strings/grit/components_strings.h" |
| 34 #include "ui/gfx/geometry/size.h" | 34 #include "ui/gfx/geometry/size.h" |
| 35 #include "ui/gfx/image/image.h" | 35 #include "ui/gfx/image/image.h" |
| (...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1271 RemoteSuggestionsProviderImpl::CategoryContent::CategoryContent( | 1271 RemoteSuggestionsProviderImpl::CategoryContent::CategoryContent( |
| 1272 CategoryContent&&) = default; | 1272 CategoryContent&&) = default; |
| 1273 | 1273 |
| 1274 RemoteSuggestionsProviderImpl::CategoryContent::~CategoryContent() = default; | 1274 RemoteSuggestionsProviderImpl::CategoryContent::~CategoryContent() = default; |
| 1275 | 1275 |
| 1276 RemoteSuggestionsProviderImpl::CategoryContent& | 1276 RemoteSuggestionsProviderImpl::CategoryContent& |
| 1277 RemoteSuggestionsProviderImpl::CategoryContent::operator=(CategoryContent&&) = | 1277 RemoteSuggestionsProviderImpl::CategoryContent::operator=(CategoryContent&&) = |
| 1278 default; | 1278 default; |
| 1279 | 1279 |
| 1280 } // namespace ntp_snippets | 1280 } // namespace ntp_snippets |
| OLD | NEW |