| 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_OFFLINE_PAGE_MODEL_IMPL_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_IMPL_H_ |
| 6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_IMPL_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 class GURL; | 33 class GURL; |
| 34 namespace base { | 34 namespace base { |
| 35 class SequencedTaskRunner; | 35 class SequencedTaskRunner; |
| 36 class Time; | 36 class Time; |
| 37 class TimeDelta; | 37 class TimeDelta; |
| 38 class TimeTicks; | 38 class TimeTicks; |
| 39 } // namespace base | 39 } // namespace base |
| 40 | 40 |
| 41 namespace offline_pages { | 41 namespace offline_pages { |
| 42 | 42 |
| 43 static const int64_t kInvalidOfflineId = 0; |
| 44 |
| 43 struct ClientId; | 45 struct ClientId; |
| 44 struct OfflinePageItem; | 46 struct OfflinePageItem; |
| 45 | 47 |
| 46 class ArchiveManager; | 48 class ArchiveManager; |
| 47 class ClientPolicyController; | 49 class ClientPolicyController; |
| 48 class OfflinePageMetadataStore; | 50 class OfflinePageMetadataStore; |
| 49 class OfflinePageStorageManager; | 51 class OfflinePageStorageManager; |
| 50 | 52 |
| 51 // Implementation of service for saving pages offline, storing the offline | 53 // Implementation of service for saving pages offline, storing the offline |
| 52 // copy and metadata, and retrieving them upon request. | 54 // copy and metadata, and retrieving them upon request. |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 std::unique_ptr<ArchiveManager> archive_manager_; | 266 std::unique_ptr<ArchiveManager> archive_manager_; |
| 265 | 267 |
| 266 base::WeakPtrFactory<OfflinePageModelImpl> weak_ptr_factory_; | 268 base::WeakPtrFactory<OfflinePageModelImpl> weak_ptr_factory_; |
| 267 | 269 |
| 268 DISALLOW_COPY_AND_ASSIGN(OfflinePageModelImpl); | 270 DISALLOW_COPY_AND_ASSIGN(OfflinePageModelImpl); |
| 269 }; | 271 }; |
| 270 | 272 |
| 271 } // namespace offline_pages | 273 } // namespace offline_pages |
| 272 | 274 |
| 273 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_IMPL_H_ | 275 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_IMPL_H_ |
| OLD | NEW |