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_DOWNLOADS_DOWNLOAD_NOTIFYING_OBSERVER_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_DOWNLOADS_DOWNLOAD_NOTIFYING_OBSERVER_H_ |
6 #define COMPONENTS_OFFLINE_PAGES_DOWNLOADS_DOWNLOAD_NOTIFYING_OBSERVER_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_CORE_DOWNLOADS_DOWNLOAD_NOTIFYING_OBSERVER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/guid.h" | 10 #include "base/guid.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "components/offline_pages/background/request_coordinator.h" | 12 #include "components/offline_pages/core/background/request_coordinator.h" |
13 #include "components/offline_pages/client_policy_controller.h" | 13 #include "components/offline_pages/core/client_policy_controller.h" |
14 | 14 |
15 namespace offline_pages { | 15 namespace offline_pages { |
16 | 16 |
17 struct ClientId; | 17 struct ClientId; |
18 struct OfflinePageDownloadNotifier; | 18 struct OfflinePageDownloadNotifier; |
19 class ClientPolicyController; | 19 class ClientPolicyController; |
20 class SavePageRequest; | 20 class SavePageRequest; |
21 | 21 |
22 // Class observing the save page requests and issuing corresponding user | 22 // Class observing the save page requests and issuing corresponding user |
23 // notifications as requests are added or updated. | 23 // notifications as requests are added or updated. |
(...skipping 29 matching lines...) Expand all Loading... |
53 // Used to issue notifications related to save page requests. | 53 // Used to issue notifications related to save page requests. |
54 std::unique_ptr<OfflinePageDownloadNotifier> notifier_; | 54 std::unique_ptr<OfflinePageDownloadNotifier> notifier_; |
55 // Used to determine policy-related permissions. Not owned. | 55 // Used to determine policy-related permissions. Not owned. |
56 ClientPolicyController* policy_controller_; | 56 ClientPolicyController* policy_controller_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(DownloadNotifyingObserver); | 58 DISALLOW_COPY_AND_ASSIGN(DownloadNotifyingObserver); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace offline_pages | 61 } // namespace offline_pages |
62 | 62 |
63 #endif // COMPONENTS_OFFLINE_PAGES_DOWNLOADS_DOWNLOAD_NOTIFYING_OBSERVER_H_ | 63 #endif // COMPONENTS_OFFLINE_PAGES_CORE_DOWNLOADS_DOWNLOAD_NOTIFYING_OBSERVER_H
_ |
OLD | NEW |