OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 SYNC_SYNCABLE_SYNCABLE_H_ | 5 #ifndef SYNC_SYNCABLE_SYNCABLE_H_ |
6 #define SYNC_SYNCABLE_SYNCABLE_H_ | 6 #define SYNC_SYNCABLE_SYNCABLE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <bitset> | 10 #include <bitset> |
11 #include <cstddef> | 11 #include <cstddef> |
12 #include <iosfwd> | 12 #include <iosfwd> |
13 #include <limits> | 13 #include <limits> |
14 #include <map> | 14 #include <map> |
15 #include <set> | 15 #include <set> |
16 #include <string> | 16 #include <string> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "base/atomicops.h" | 19 #include "base/atomicops.h" |
20 #include "base/basictypes.h" | 20 #include "base/basictypes.h" |
21 #include "base/compiler_specific.h" | 21 #include "base/compiler_specific.h" |
22 #include "base/file_path.h" | 22 #include "base/file_path.h" |
23 #include "base/gtest_prod_util.h" | 23 #include "base/gtest_prod_util.h" |
24 #include "base/location.h" | 24 #include "base/location.h" |
25 #include "base/logging.h" | 25 #include "base/logging.h" |
26 #include "base/memory/ref_counted.h" | 26 #include "base/memory/ref_counted.h" |
27 #include "base/synchronization/lock.h" | 27 #include "base/synchronization/lock.h" |
28 #include "base/time.h" | 28 #include "base/time.h" |
29 #include "sync/internal_api/public/syncable/model_type.h" | 29 #include "sync/internal_api/public/syncable/model_type.h" |
| 30 #include "sync/internal_api/public/util/report_unrecoverable_error_function.h" |
| 31 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" |
| 32 #include "sync/internal_api/public/util/weak_handle.h" |
30 #include "sync/protocol/sync.pb.h" | 33 #include "sync/protocol/sync.pb.h" |
31 #include "sync/syncable/blob.h" | 34 #include "sync/syncable/blob.h" |
32 #include "sync/syncable/dir_open_result.h" | 35 #include "sync/syncable/dir_open_result.h" |
33 #include "sync/syncable/syncable_id.h" | 36 #include "sync/syncable/syncable_id.h" |
34 #include "sync/util/cryptographer.h" | 37 #include "sync/util/cryptographer.h" |
35 #include "sync/util/immutable.h" | 38 #include "sync/util/immutable.h" |
36 #include "sync/util/report_unrecoverable_error_function.h" | |
37 #include "sync/util/time.h" | 39 #include "sync/util/time.h" |
38 #include "sync/util/unrecoverable_error_handler.h" | |
39 #include "sync/util/weak_handle.h" | |
40 | 40 |
41 namespace base { | 41 namespace base { |
42 class DictionaryValue; | 42 class DictionaryValue; |
43 class ListValue; | 43 class ListValue; |
44 } | 44 } |
45 | 45 |
46 namespace browser_sync { | 46 namespace browser_sync { |
47 class Encryptor; | 47 class Encryptor; |
48 } // namespace browser_sync | 48 } // namespace browser_sync |
49 | 49 |
(...skipping 1299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1349 | 1349 |
1350 void ChangeEntryIDAndUpdateChildren(syncable::WriteTransaction* trans, | 1350 void ChangeEntryIDAndUpdateChildren(syncable::WriteTransaction* trans, |
1351 syncable::MutableEntry* entry, | 1351 syncable::MutableEntry* entry, |
1352 const syncable::Id& new_id); | 1352 const syncable::Id& new_id); |
1353 | 1353 |
1354 } // namespace syncable | 1354 } // namespace syncable |
1355 | 1355 |
1356 std::ostream& operator <<(std::ostream&, const syncable::Blob&); | 1356 std::ostream& operator <<(std::ostream&, const syncable::Blob&); |
1357 | 1357 |
1358 #endif // SYNC_SYNCABLE_SYNCABLE_H_ | 1358 #endif // SYNC_SYNCABLE_SYNCABLE_H_ |
OLD | NEW |