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

Issue 2646783002: Fixed synchronization autocomplete unrecoverable error. (Closed)

Created:
3 years, 11 months ago by sath
Modified:
3 years, 11 months ago
Reviewers:
Mathieu, gab, pavely
CC:
chromium-reviews, rouslan+autofill_chromium.org, tfarina, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed synchronization autocomplete unrecoverable error. I found the same error as described in a bug with our test accounts. And I suppose this problem can be as result not correct import autocomplete entries from the other browsers. For example the import from the firefox browser doesn't validate name and value fields in autofill entry before writing it in an autofill table so the browser can import not valid entry from other browser. Also the browser doesn't need to cut null terminating symbol in a name or a value, because the browser generates differ tag for autocomplete entry and lose link between autocomplete table and local synchronization database entries. BUG=596170 Review-Url: https://codereview.chromium.org/2646783002 Cr-Commit-Position: refs/heads/master@{#445348} Committed: https://chromium.googlesource.com/chromium/src/+/8f5740d76f1f7e60af5a9a0ef118e807a506c7c3

Patch Set 1 #

Patch Set 2 : Fixed synchronization autocomplete unrecoverable error. #

Total comments: 1

Patch Set 3 : Added const for local variables. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -14 lines) Patch
M chrome/browser/importer/in_process_importer_bridge.cc View 1 2 1 chunk +9 lines, -4 lines 0 comments Download
M components/autofill/core/browser/webdata/autocomplete_syncable_service.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_entry.h View 2 chunks +3 lines, -1 line 0 comments Download
M components/autofill/core/browser/webdata/autofill_entry.cc View 2 chunks +3 lines, -1 line 0 comments Download
M components/autofill/core/browser/webdata/autofill_table_unittest.cc View 2 chunks +27 lines, -2 lines 0 comments Download
M components/browser_sync/profile_sync_service_autofill_unittest.cc View 3 chunks +53 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
sath
PTAL
3 years, 11 months ago (2017-01-19 14:44:45 UTC) #3
pavely
lgtm
3 years, 11 months ago (2017-01-20 00:14:12 UTC) #4
Evan Stade
-estade, +mathp
3 years, 11 months ago (2017-01-20 01:20:53 UTC) #6
gab
Interesting, lgtm https://codereview.chromium.org/2646783002/diff/20001/chrome/browser/importer/in_process_importer_bridge.cc File chrome/browser/importer/in_process_importer_bridge.cc (right): https://codereview.chromium.org/2646783002/diff/20001/chrome/browser/importer/in_process_importer_bridge.cc#newcode236 chrome/browser/importer/in_process_importer_bridge.cc:236: base::string16 value = entries[i].value.c_str(); const on both
3 years, 11 months ago (2017-01-20 01:57:15 UTC) #7
sath
On 2017/01/20 01:57:15, gab (slow at conference) wrote: > Interesting, lgtm > > https://codereview.chromium.org/2646783002/diff/20001/chrome/browser/importer/in_process_importer_bridge.cc > ...
3 years, 11 months ago (2017-01-20 10:29:11 UTC) #8
Mathieu
lgtm, thanks
3 years, 11 months ago (2017-01-22 20:47:07 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2646783002/40001
3 years, 11 months ago (2017-01-23 09:46:59 UTC) #12
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 10:30:31 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8f5740d76f1f7e60af5a9a0ef118...

Powered by Google App Engine
This is Rietveld 408576698