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_NTP_SNIPPETS_SERVICE_H_ | 5 #ifndef COMPONENTS_NTP_SNIPPETS_NTP_SNIPPETS_SERVICE_H_ |
6 #define COMPONENTS_NTP_SNIPPETS_NTP_SNIPPETS_SERVICE_H_ | 6 #define COMPONENTS_NTP_SNIPPETS_NTP_SNIPPETS_SERVICE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/callback_forward.h" | 15 #include "base/callback_forward.h" |
16 #include "base/gtest_prod_util.h" | 16 #include "base/gtest_prod_util.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/timer/timer.h" | 18 #include "base/timer/timer.h" |
19 #include "components/image_fetcher/image_fetcher_delegate.h" | 19 #include "components/image_fetcher/image_fetcher_delegate.h" |
20 #include "components/ntp_snippets/category.h" | 20 #include "components/ntp_snippets/category.h" |
21 #include "components/ntp_snippets/category_factory.h" | 21 #include "components/ntp_snippets/category_factory.h" |
22 #include "components/ntp_snippets/category_status.h" | 22 #include "components/ntp_snippets/category_status.h" |
23 #include "components/ntp_snippets/content_suggestion.h" | 23 #include "components/ntp_snippets/content_suggestion.h" |
24 #include "components/ntp_snippets/content_suggestions_provider.h" | 24 #include "components/ntp_snippets/content_suggestions_provider.h" |
25 #include "components/ntp_snippets/ntp_snippet.h" | 25 #include "components/ntp_snippets/ntp_snippet.h" |
26 #include "components/ntp_snippets/ntp_snippets_fetcher.h" | 26 #include "components/ntp_snippets/ntp_snippets_fetcher.h" |
27 #include "components/ntp_snippets/ntp_snippets_scheduler.h" | 27 #include "components/ntp_snippets/ntp_snippets_scheduler.h" |
28 #include "components/ntp_snippets/ntp_snippets_status_service.h" | 28 #include "components/ntp_snippets/ntp_snippets_status_service.h" |
29 #include "components/suggestions/suggestions_service.h" | 29 #include "components/suggestions/suggestions_service.h" |
30 #include "components/sync_driver/sync_service_observer.h" | 30 #include "components/sync/driver/sync_service_observer.h" |
31 | 31 |
32 class PrefRegistrySimple; | 32 class PrefRegistrySimple; |
33 class PrefService; | 33 class PrefService; |
34 class SigninManagerBase; | 34 class SigninManagerBase; |
35 | 35 |
36 namespace base { | 36 namespace base { |
37 class RefCountedMemory; | 37 class RefCountedMemory; |
38 class Value; | 38 class Value; |
39 } | 39 } |
40 | 40 |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 bool fetch_after_load_; | 303 bool fetch_after_load_; |
304 | 304 |
305 const Category provided_category_; | 305 const Category provided_category_; |
306 | 306 |
307 DISALLOW_COPY_AND_ASSIGN(NTPSnippetsService); | 307 DISALLOW_COPY_AND_ASSIGN(NTPSnippetsService); |
308 }; | 308 }; |
309 | 309 |
310 } // namespace ntp_snippets | 310 } // namespace ntp_snippets |
311 | 311 |
312 #endif // COMPONENTS_NTP_SNIPPETS_NTP_SNIPPETS_SERVICE_H_ | 312 #endif // COMPONENTS_NTP_SNIPPETS_NTP_SNIPPETS_SERVICE_H_ |
OLD | NEW |