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 27 matching lines...) Expand all Loading... |
51 // Used to issue notifications related to save page requests. | 51 // Used to issue notifications related to save page requests. |
52 std::unique_ptr<OfflinePageDownloadNotifier> notifier_; | 52 std::unique_ptr<OfflinePageDownloadNotifier> notifier_; |
53 // Used to determine policy-related permissions. Not owned. | 53 // Used to determine policy-related permissions. Not owned. |
54 ClientPolicyController* policy_controller_; | 54 ClientPolicyController* policy_controller_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(DownloadNotifyingObserver); | 56 DISALLOW_COPY_AND_ASSIGN(DownloadNotifyingObserver); |
57 }; | 57 }; |
58 | 58 |
59 } // namespace offline_pages | 59 } // namespace offline_pages |
60 | 60 |
61 #endif // COMPONENTS_OFFLINE_PAGES_DOWNLOADS_DOWNLOAD_NOTIFYING_OBSERVER_H_ | 61 #endif // COMPONENTS_OFFLINE_PAGES_CORE_DOWNLOADS_DOWNLOAD_NOTIFYING_OBSERVER_H
_ |
OLD | NEW |