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 #ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_PICK_REQUEST_TASK_FACTORY_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_PICK_REQUEST_TASK_FACTORY_H_ |
6 #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_PICK_REQUEST_TASK_FACTORY_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_PICK_REQUEST_TASK_FACTORY_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
11 | 11 |
12 #include "components/offline_pages/background/pick_request_task.h" | 12 #include "components/offline_pages/background/pick_request_task.h" |
13 | 13 |
14 namespace offline_pages { | 14 namespace offline_pages { |
15 | 15 |
16 class DeviceContitions; | |
17 class OfflinerPolicy; | 16 class OfflinerPolicy; |
18 class RequestCoordinatorEventLogger; | 17 class RequestCoordinatorEventLogger; |
19 class RequestNotifier; | 18 class RequestNotifier; |
20 class RequestQueueStore; | 19 class RequestQueueStore; |
21 | 20 |
22 class PickRequestTaskFactory { | 21 class PickRequestTaskFactory { |
23 public: | 22 public: |
24 PickRequestTaskFactory(OfflinerPolicy* policy, | 23 PickRequestTaskFactory(OfflinerPolicy* policy, |
25 RequestNotifier* notifier, | 24 RequestNotifier* notifier, |
26 RequestCoordinatorEventLogger* event_logger); | 25 RequestCoordinatorEventLogger* event_logger); |
(...skipping 13 matching lines...) Expand all Loading... |
40 OfflinerPolicy* policy_; | 39 OfflinerPolicy* policy_; |
41 // Unowned pointer to the notifier | 40 // Unowned pointer to the notifier |
42 RequestNotifier* notifier_; | 41 RequestNotifier* notifier_; |
43 // Unowned pointer to the EventLogger | 42 // Unowned pointer to the EventLogger |
44 RequestCoordinatorEventLogger* event_logger_; | 43 RequestCoordinatorEventLogger* event_logger_; |
45 }; | 44 }; |
46 | 45 |
47 } // namespace offline_pages | 46 } // namespace offline_pages |
48 | 47 |
49 #endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_PICK_REQUEST_TASK_FACTORY_H_ | 48 #endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_PICK_REQUEST_TASK_FACTORY_H_ |
OLD | NEW |