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_OFFLINE_PAGE_MODEL_H_ |
6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 20 matching lines...) Expand all Loading... |
31 class GURL; | 31 class GURL; |
32 namespace base { | 32 namespace base { |
33 class SequencedTaskRunner; | 33 class SequencedTaskRunner; |
34 class Time; | 34 class Time; |
35 class TimeDelta; | 35 class TimeDelta; |
36 class TimeTicks; | 36 class TimeTicks; |
37 } // namespace base | 37 } // namespace base |
38 | 38 |
39 namespace offline_pages { | 39 namespace offline_pages { |
40 | 40 |
41 static const char* const kBookmarkNamespace = "bookmark"; | |
42 static const int64_t kInvalidOfflineId = 0; | 41 static const int64_t kInvalidOfflineId = 0; |
43 | 42 |
44 struct ClientId; | 43 struct ClientId; |
45 struct OfflinePageItem; | 44 struct OfflinePageItem; |
46 | 45 |
47 class ArchiveManager; | 46 class ArchiveManager; |
48 class ClientPolicyController; | 47 class ClientPolicyController; |
49 class OfflinePageMetadataStore; | 48 class OfflinePageMetadataStore; |
50 class OfflinePageStorageManager; | 49 class OfflinePageStorageManager; |
51 | 50 |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 std::unique_ptr<ArchiveManager> archive_manager_; | 372 std::unique_ptr<ArchiveManager> archive_manager_; |
374 | 373 |
375 base::WeakPtrFactory<OfflinePageModel> weak_ptr_factory_; | 374 base::WeakPtrFactory<OfflinePageModel> weak_ptr_factory_; |
376 | 375 |
377 DISALLOW_COPY_AND_ASSIGN(OfflinePageModel); | 376 DISALLOW_COPY_AND_ASSIGN(OfflinePageModel); |
378 }; | 377 }; |
379 | 378 |
380 } // namespace offline_pages | 379 } // namespace offline_pages |
381 | 380 |
382 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_ | 381 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_ |
OLD | NEW |