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

Issue 9315048: [Sync] Fix idempotency check for passwords datatype. (Closed)

Created:
8 years, 10 months ago by Nicolas Zea
Modified:
8 years, 10 months ago
Reviewers:
rlarocque
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing)
Visibility:
Public.

Description

[Sync] Fix idempotency check for passwords datatype. We do the same logic as in UpdateEntryWithEncryption in SetPasswordSpecifics now. Added unit tests to ensure this doesn't happen again. BUG=112402 TEST=sync_unit_tests --gtest_filter="*UpdatePasswordsData*" Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120264

Patch Set 1 #

Total comments: 2

Patch Set 2 : Break up tests #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -5 lines) Patch
M chrome/browser/sync/internal_api/base_node.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/sync/internal_api/syncapi_unittest.cc View 1 2 1 chunk +153 lines, -0 lines 0 comments Download
M chrome/browser/sync/internal_api/write_node.cc View 1 chunk +18 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nicolas Zea
PTAL, this fixes the issue you found.
8 years, 10 months ago (2012-02-02 18:14:29 UTC) #1
rlarocque
LGTM, with comment. http://codereview.chromium.org/9315048/diff/1/chrome/browser/sync/internal_api/syncapi_unittest.cc File chrome/browser/sync/internal_api/syncapi_unittest.cc (right): http://codereview.chromium.org/9315048/diff/1/chrome/browser/sync/internal_api/syncapi_unittest.cc#newcode1797 chrome/browser/sync/internal_api/syncapi_unittest.cc:1797: TEST_F(SyncManagerTest, UpdatePasswordsData) { Could you split ...
8 years, 10 months ago (2012-02-02 18:55:31 UTC) #2
Nicolas Zea
Done. Committing. http://codereview.chromium.org/9315048/diff/1/chrome/browser/sync/internal_api/syncapi_unittest.cc File chrome/browser/sync/internal_api/syncapi_unittest.cc (right): http://codereview.chromium.org/9315048/diff/1/chrome/browser/sync/internal_api/syncapi_unittest.cc#newcode1797 chrome/browser/sync/internal_api/syncapi_unittest.cc:1797: TEST_F(SyncManagerTest, UpdatePasswordsData) { On 2012/02/02 18:55:31, rlarocque ...
8 years, 10 months ago (2012-02-02 19:54:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/9315048/1006
8 years, 10 months ago (2012-02-02 19:55:00 UTC) #4
commit-bot: I haz the power
Try job failure for 9315048-1006 (retry) on win_rel for step "test_shell_tests". It's a second try, ...
8 years, 10 months ago (2012-02-02 21:58:35 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/9315048/1006
8 years, 10 months ago (2012-02-02 22:06:21 UTC) #6
commit-bot: I haz the power
8 years, 10 months ago (2012-02-03 01:06:52 UTC) #7
Try job failure for 9315048-1006 (retry) (retry) on win_rel for step
"test_shell_tests".
It's a second try, previously, step "test_shell_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698