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

Issue 11090083: Makes sync code persist the date the node was added. I'm hoping this covers (Closed)

Created:
8 years, 2 months ago by sky
Modified:
8 years, 2 months ago
Reviewers:
Nicolas Zea, akalin
CC:
chromium-reviews, Raghu Simha, haitaol1, browser-components-watch_chromium.org, tim (not reviewing)
Visibility:
Public.

Description

Makes sync code persist the date node was added. I'm hoping this covers most of the cases folks are encountering. We may need to persist date_folder_modified to really cover everything. BUG=84880 TEST=covered by tests. R=akalin@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161655

Patch Set 1 #

Patch Set 2 : Comment #

Total comments: 2

Patch Set 3 : creation_time_us #

Patch Set 4 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -34 lines) Patch
M chrome/browser/bookmarks/bookmark_model.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/bookmark_change_processor.cc View 1 2 2 chunks +15 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_bookmark_unittest.cc View 1 7 chunks +73 lines, -28 lines 0 comments Download
M sync/protocol/bookmark_specifics.proto View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions_unittest.cc View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
sky
Fred, if you're not the right person for sync related bookmark changes could you suggest ...
8 years, 2 months ago (2012-10-11 21:23:42 UTC) #1
akalin
Nicolas and I will look at this.
8 years, 2 months ago (2012-10-11 22:03:49 UTC) #2
Nicolas Zea
I'm not a big fan of the running_count approach to generating/checking creation times. Seems kind ...
8 years, 2 months ago (2012-10-11 22:39:03 UTC) #3
akalin
http://codereview.chromium.org/11090083/diff/8/sync/protocol/bookmark_specifics.proto File sync/protocol/bookmark_specifics.proto (right): http://codereview.chromium.org/11090083/diff/8/sync/protocol/bookmark_specifics.proto#newcode22 sync/protocol/bookmark_specifics.proto:22: optional int64 creation_time = 4; There's a unfortunate situation ...
8 years, 2 months ago (2012-10-11 22:39:29 UTC) #4
Nicolas Zea
On 2012/10/11 22:39:29, akalin wrote: > http://codereview.chromium.org/11090083/diff/8/sync/protocol/bookmark_specifics.proto > File sync/protocol/bookmark_specifics.proto (right): > > http://codereview.chromium.org/11090083/diff/8/sync/protocol/bookmark_specifics.proto#newcode22 > ...
8 years, 2 months ago (2012-10-11 22:45:43 UTC) #5
akalin
On 2012/10/11 22:45:43, nzea wrote: > On 2012/10/11 22:39:29, akalin wrote: > > > http://codereview.chromium.org/11090083/diff/8/sync/protocol/bookmark_specifics.proto ...
8 years, 2 months ago (2012-10-11 22:52:17 UTC) #6
sky
Updated to _us.
8 years, 2 months ago (2012-10-11 23:16:16 UTC) #7
akalin
lgtm not a huge fan of running_count either, but it'll do for now.
8 years, 2 months ago (2012-10-12 01:23:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/11090083/7002
8 years, 2 months ago (2012-10-12 14:11:59 UTC) #9
commit-bot: I haz the power
Retried try job too often for step(s) sync_unit_tests
8 years, 2 months ago (2012-10-12 15:08:37 UTC) #10
akalin
On 2012/10/12 15:08:37, I haz the power (commit-bot) wrote: > Retried try job too often ...
8 years, 2 months ago (2012-10-12 16:58:36 UTC) #11
sky
On 2012/10/12 16:58:36, akalin wrote: > On 2012/10/12 15:08:37, I haz the power (commit-bot) wrote: ...
8 years, 2 months ago (2012-10-12 17:59:41 UTC) #12
sky
8 years, 2 months ago (2012-10-12 17:59:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/11090083/8005
8 years, 2 months ago (2012-10-12 18:00:51 UTC) #14
commit-bot: I haz the power
8 years, 2 months ago (2012-10-12 21:28:46 UTC) #15
Change committed as 161655

Powered by Google App Engine
This is Rietveld 408576698