| 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 #ifndef COMPONENTS_NTP_SNIPPETS_REMOTE_REMOTE_SUGGESTIONS_PROVIDER_IMPL_H_ | 5 #ifndef COMPONENTS_NTP_SNIPPETS_REMOTE_REMOTE_SUGGESTIONS_PROVIDER_IMPL_H_ |
| 6 #define COMPONENTS_NTP_SNIPPETS_REMOTE_REMOTE_SUGGESTIONS_PROVIDER_IMPL_H_ | 6 #define COMPONENTS_NTP_SNIPPETS_REMOTE_REMOTE_SUGGESTIONS_PROVIDER_IMPL_H_ |
| 7 | 7 |
| 8 #include <cstddef> | 8 #include <cstddef> |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <set> | 12 #include <set> |
| 13 #include <string> | 13 #include <string> |
| 14 #include <utility> | 14 #include <utility> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "base/callback_forward.h" | 17 #include "base/callback_forward.h" |
| 18 #include "base/gtest_prod_util.h" | 18 #include "base/gtest_prod_util.h" |
| 19 #include "base/macros.h" | 19 #include "base/macros.h" |
| 20 #include "base/time/clock.h" | 20 #include "base/time/clock.h" |
| 21 #include "base/time/time.h" | 21 #include "base/time/time.h" |
| 22 #include "components/image_fetcher/image_fetcher_delegate.h" | 22 #include "components/image_fetcher/core/image_fetcher_delegate.h" |
| 23 #include "components/ntp_snippets/category.h" | 23 #include "components/ntp_snippets/category.h" |
| 24 #include "components/ntp_snippets/category_status.h" | 24 #include "components/ntp_snippets/category_status.h" |
| 25 #include "components/ntp_snippets/content_suggestion.h" | 25 #include "components/ntp_snippets/content_suggestion.h" |
| 26 #include "components/ntp_snippets/content_suggestions_provider.h" | 26 #include "components/ntp_snippets/content_suggestions_provider.h" |
| 27 #include "components/ntp_snippets/remote/remote_suggestion.h" | 27 #include "components/ntp_snippets/remote/remote_suggestion.h" |
| 28 #include "components/ntp_snippets/remote/remote_suggestions_fetcher.h" | 28 #include "components/ntp_snippets/remote/remote_suggestions_fetcher.h" |
| 29 #include "components/ntp_snippets/remote/remote_suggestions_provider.h" | 29 #include "components/ntp_snippets/remote/remote_suggestions_provider.h" |
| 30 #include "components/ntp_snippets/remote/remote_suggestions_status_service.h" | 30 #include "components/ntp_snippets/remote/remote_suggestions_status_service.h" |
| 31 #include "components/ntp_snippets/remote/request_params.h" | 31 #include "components/ntp_snippets/remote/request_params.h" |
| 32 #include "components/ntp_snippets/remote/request_throttler.h" | 32 #include "components/ntp_snippets/remote/request_throttler.h" |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 | 461 |
| 462 // A clock for getting the time. This allows to inject a clock in tests. | 462 // A clock for getting the time. This allows to inject a clock in tests. |
| 463 std::unique_ptr<base::Clock> clock_; | 463 std::unique_ptr<base::Clock> clock_; |
| 464 | 464 |
| 465 DISALLOW_COPY_AND_ASSIGN(RemoteSuggestionsProviderImpl); | 465 DISALLOW_COPY_AND_ASSIGN(RemoteSuggestionsProviderImpl); |
| 466 }; | 466 }; |
| 467 | 467 |
| 468 } // namespace ntp_snippets | 468 } // namespace ntp_snippets |
| 469 | 469 |
| 470 #endif // COMPONENTS_NTP_SNIPPETS_REMOTE_REMOTE_SUGGESTIONS_PROVIDER_IMPL_H_ | 470 #endif // COMPONENTS_NTP_SNIPPETS_REMOTE_REMOTE_SUGGESTIONS_PROVIDER_IMPL_H_ |
| OLD | NEW |