OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_UTIL_H_ | 5 #ifndef COMPONENTS_SYNC_SYNCABLE_SYNCABLE_UTIL_H_ |
6 #define SYNC_SYNCABLE_SYNCABLE_UTIL_H_ | 6 #define COMPONENTS_SYNC_SYNCABLE_SYNCABLE_UTIL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "sync/base/sync_export.h" | 13 #include "components/sync/base/model_type.h" |
14 #include "sync/internal_api/public/base/model_type.h" | 14 #include "components/sync/base/sync_export.h" |
15 | 15 |
16 namespace tracked_objects { | 16 namespace tracked_objects { |
17 class Location; | 17 class Location; |
18 } | 18 } |
19 | 19 |
20 namespace syncer { | 20 namespace syncer { |
21 namespace syncable { | 21 namespace syncable { |
22 | 22 |
23 class BaseTransaction; | 23 class BaseTransaction; |
24 class BaseWriteTransaction; | 24 class BaseWriteTransaction; |
(...skipping 23 matching lines...) Expand all Loading... |
48 // A helper for generating the bookmark type's tag. This is required in more | 48 // A helper for generating the bookmark type's tag. This is required in more |
49 // than one place, so we define the algorithm here to make sure the | 49 // than one place, so we define the algorithm here to make sure the |
50 // implementation is consistent. | 50 // implementation is consistent. |
51 SYNC_EXPORT std::string GenerateSyncableBookmarkHash( | 51 SYNC_EXPORT std::string GenerateSyncableBookmarkHash( |
52 const std::string& originator_cache_guid, | 52 const std::string& originator_cache_guid, |
53 const std::string& originator_client_item_id); | 53 const std::string& originator_client_item_id); |
54 | 54 |
55 } // namespace syncable | 55 } // namespace syncable |
56 } // namespace syncer | 56 } // namespace syncer |
57 | 57 |
58 #endif // SYNC_SYNCABLE_SYNCABLE_UTIL_H_ | 58 #endif // COMPONENTS_SYNC_SYNCABLE_SYNCABLE_UTIL_H_ |
OLD | NEW |