Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Issue 11571092: sync: Move unique_client_tag hashing code (Closed)

Created:
8 years ago by rlarocque
Modified:
8 years ago
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, tim (not reviewing)
Visibility:
Public.

Description

sync: Move unique_client_tag hashing code This is one of many changes that will lead up to the introduction of the bookmark UniquePosition algorithm. We eventually want to use the hashing code to create a unique tag for bookmarks. This tag will be initialized at bookmark creation time in MutableEntry. This patch moves the hashing code out of BaseNode and into syncable_util so it can be accessed from the syncable layer. BUG=145412, 126505 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174449

Patch Set 1 #

Total comments: 2

Patch Set 2 : Undo some changes and move a test to syncable_util_unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -53 lines) Patch
M sync/internal_api/base_node.cc View 2 chunks +0 lines, -17 lines 0 comments Download
M sync/internal_api/public/base_node.h View 1 chunk +0 lines, -5 lines 0 comments Download
M sync/internal_api/read_node.cc View 2 chunks +2 lines, -1 line 0 comments Download
M sync/internal_api/sync_manager_impl_unittest.cc View 1 14 chunks +13 lines, -28 lines 0 comments Download
M sync/internal_api/write_node.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M sync/sync.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M sync/syncable/syncable_util.h View 2 chunks +6 lines, -0 lines 0 comments Download
M sync/syncable/syncable_util.cc View 2 chunks +17 lines, -0 lines 0 comments Download
A sync/syncable/syncable_util_unittest.cc View 1 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
rlarocque
This patch is a small independent part of https://codereview.chromium.org/11636006/. Please review.
8 years ago (2012-12-20 23:34:15 UTC) #1
tim (not reviewing)
https://chromiumcodereview.appspot.com/11571092/diff/1/sync/internal_api/sync_manager_impl_unittest.cc File sync/internal_api/sync_manager_impl_unittest.cc (right): https://chromiumcodereview.appspot.com/11571092/diff/1/sync/internal_api/sync_manager_impl_unittest.cc#newcode292 sync/internal_api/sync_manager_impl_unittest.cc:292: syncable::GenerateSyncableHash(THEMES, "tag2")); This looks like it should be moved ...
8 years ago (2012-12-21 17:26:31 UTC) #2
rlarocque
Patch updated. PTAL. https://chromiumcodereview.appspot.com/11571092/diff/1/sync/internal_api/sync_manager_impl_unittest.cc File sync/internal_api/sync_manager_impl_unittest.cc (right): https://chromiumcodereview.appspot.com/11571092/diff/1/sync/internal_api/sync_manager_impl_unittest.cc#newcode292 sync/internal_api/sync_manager_impl_unittest.cc:292: syncable::GenerateSyncableHash(THEMES, "tag2")); On 2012/12/21 17:26:31, timsteele ...
8 years ago (2012-12-21 18:39:48 UTC) #3
tim (not reviewing)
LGTM!
8 years ago (2012-12-21 18:44:45 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/11571092/5001
8 years ago (2012-12-21 18:45:21 UTC) #5
commit-bot: I haz the power
8 years ago (2012-12-21 20:54:30 UTC) #6
Message was sent while issue was closed.
Change committed as 174449

Powered by Google App Engine
This is Rietveld 408576698