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_METADATA_STORE_IMPL_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_IMPL_H_ |
6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_IMPL_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_IMPL_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
13 #include "components/leveldb_proto/proto_database.h" | 16 #include "components/leveldb_proto/proto_database.h" |
14 #include "components/offline_pages/offline_page_metadata_store.h" | 17 #include "components/offline_pages/offline_page_metadata_store.h" |
15 | 18 |
16 namespace base { | 19 namespace base { |
17 class SequencedTaskRunner; | 20 class SequencedTaskRunner; |
18 } | 21 } |
19 | 22 |
20 namespace offline_pages { | 23 namespace offline_pages { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 scoped_ptr<leveldb_proto::ProtoDatabase<OfflinePageEntry>> database_; | 70 scoped_ptr<leveldb_proto::ProtoDatabase<OfflinePageEntry>> database_; |
68 | 71 |
69 base::WeakPtrFactory<OfflinePageMetadataStoreImpl> weak_ptr_factory_; | 72 base::WeakPtrFactory<OfflinePageMetadataStoreImpl> weak_ptr_factory_; |
70 | 73 |
71 DISALLOW_COPY_AND_ASSIGN(OfflinePageMetadataStoreImpl); | 74 DISALLOW_COPY_AND_ASSIGN(OfflinePageMetadataStoreImpl); |
72 }; | 75 }; |
73 | 76 |
74 } // namespace offline_pages | 77 } // namespace offline_pages |
75 | 78 |
76 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_IMPL_H_ | 79 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_IMPL_H_ |
OLD | NEW |