OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_METADATA_DATABASE_INDEX_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_METADATA_DATABASE_INDEX_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_METADATA_DATABASE_INDEX_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_METADATA_DATABASE_INDEX_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <set> | 12 #include <set> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/containers/hash_tables.h" | 16 #include "base/containers/hash_tables.h" |
17 #include "base/containers/scoped_ptr_hash_map.h" | 17 #include "base/containers/scoped_ptr_hash_map.h" |
| 18 #include "base/hash.h" |
18 #include "base/macros.h" | 19 #include "base/macros.h" |
19 #include "base/memory/scoped_vector.h" | 20 #include "base/memory/scoped_vector.h" |
20 #include "chrome/browser/sync_file_system/drive_backend/metadata_database_index_
interface.h" | 21 #include "chrome/browser/sync_file_system/drive_backend/metadata_database_index_
interface.h" |
21 #include "chrome/browser/sync_file_system/drive_backend/tracker_id_set.h" | 22 #include "chrome/browser/sync_file_system/drive_backend/tracker_id_set.h" |
22 | 23 |
23 namespace sync_file_system { | 24 namespace sync_file_system { |
24 namespace drive_backend { | 25 namespace drive_backend { |
25 | 26 |
26 class FileMetadata; | 27 class FileMetadata; |
27 class FileTracker; | 28 class FileTracker; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 DirtyTrackers dirty_trackers_; | 161 DirtyTrackers dirty_trackers_; |
161 DirtyTrackers demoted_dirty_trackers_; | 162 DirtyTrackers demoted_dirty_trackers_; |
162 | 163 |
163 DISALLOW_COPY_AND_ASSIGN(MetadataDatabaseIndex); | 164 DISALLOW_COPY_AND_ASSIGN(MetadataDatabaseIndex); |
164 }; | 165 }; |
165 | 166 |
166 } // namespace drive_backend | 167 } // namespace drive_backend |
167 } // namespace sync_file_system | 168 } // namespace sync_file_system |
168 | 169 |
169 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_METADATA_DATABASE_INDEX
_H_ | 170 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_METADATA_DATABASE_INDEX
_H_ |
OLD | NEW |