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_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_MODEL_H_ |
6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_MODEL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.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/supports_user_data.h" | 15 #include "base/supports_user_data.h" |
16 #include "components/offline_pages/offline_event_logger.h" | 16 #include "components/offline_pages/core/offline_event_logger.h" |
17 #include "components/offline_pages/offline_page_archiver.h" | 17 #include "components/offline_pages/core/offline_page_archiver.h" |
18 #include "components/offline_pages/offline_page_model_query.h" | 18 #include "components/offline_pages/core/offline_page_model_query.h" |
19 #include "components/offline_pages/offline_page_storage_manager.h" | 19 #include "components/offline_pages/core/offline_page_storage_manager.h" |
20 #include "components/offline_pages/offline_page_types.h" | 20 #include "components/offline_pages/core/offline_page_types.h" |
21 | 21 |
22 class GURL; | 22 class GURL; |
23 | 23 |
24 namespace offline_pages { | 24 namespace offline_pages { |
25 | 25 |
26 struct ClientId; | 26 struct ClientId; |
27 | 27 |
28 // Service for saving pages offline, storing the offline copy and metadata, and | 28 // Service for saving pages offline, storing the offline copy and metadata, and |
29 // retrieving them upon request. | 29 // retrieving them upon request. |
30 // | 30 // |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 173 |
174 // TODO(dougarnett): Remove this and its uses. | 174 // TODO(dougarnett): Remove this and its uses. |
175 virtual bool is_loaded() const = 0; | 175 virtual bool is_loaded() const = 0; |
176 | 176 |
177 // Returns the logger. Ownership is retained by the model. | 177 // Returns the logger. Ownership is retained by the model. |
178 virtual OfflineEventLogger* GetLogger() = 0; | 178 virtual OfflineEventLogger* GetLogger() = 0; |
179 }; | 179 }; |
180 | 180 |
181 } // namespace offline_pages | 181 } // namespace offline_pages |
182 | 182 |
183 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_ | 183 #endif // COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_MODEL_H_ |
OLD | NEW |