| 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 #include "components/sync/syncable/syncable_util.h" | 5 #include "components/sync/syncable/syncable_util.h" |
| 6 | 6 |
| 7 #include <stdint.h> | |
| 8 | |
| 9 #include "base/base64.h" | 7 #include "base/base64.h" |
| 10 #include "base/location.h" | 8 #include "base/location.h" |
| 11 #include "base/logging.h" | 9 #include "base/logging.h" |
| 12 #include "base/sha1.h" | 10 #include "base/sha1.h" |
| 13 #include "components/sync/syncable/directory.h" | 11 #include "components/sync/syncable/directory.h" |
| 14 #include "components/sync/syncable/entry.h" | 12 #include "components/sync/syncable/entry.h" |
| 15 #include "components/sync/syncable/mutable_entry.h" | 13 #include "components/sync/syncable/mutable_entry.h" |
| 16 #include "components/sync/syncable/syncable_id.h" | 14 #include "components/sync/syncable/syncable_id.h" |
| 17 #include "components/sync/syncable/syncable_write_transaction.h" | 15 #include "components/sync/syncable/syncable_write_transaction.h" |
| 18 | 16 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 109 |
| 112 std::string GenerateSyncableBookmarkHash( | 110 std::string GenerateSyncableBookmarkHash( |
| 113 const std::string& originator_cache_guid, | 111 const std::string& originator_cache_guid, |
| 114 const std::string& originator_client_item_id) { | 112 const std::string& originator_client_item_id) { |
| 115 return syncable::GenerateSyncableHash( | 113 return syncable::GenerateSyncableHash( |
| 116 BOOKMARKS, originator_cache_guid + originator_client_item_id); | 114 BOOKMARKS, originator_cache_guid + originator_client_item_id); |
| 117 } | 115 } |
| 118 | 116 |
| 119 } // namespace syncable | 117 } // namespace syncable |
| 120 } // namespace syncer | 118 } // namespace syncer |
| OLD | NEW |