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

Issue 2582713003: [USS] Impelementation for GetData and GetAllData (Closed)

Created:
4 years ago by Gang Wu
Modified:
3 years, 11 months ago
CC:
chromium-reviews, rouslan+autofill_chromium.org, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, mathp+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[USS] Impelementation for GetData and GetAllData BUG=672617 Committed: https://crrev.com/b5e5d4663754f905b2d1465c258ca1c21979c70a Cr-Commit-Position: refs/heads/master@{#440589}

Patch Set 1 : rebase #

Patch Set 2 : self review #

Total comments: 37

Patch Set 3 : skym review #

Total comments: 44

Patch Set 4 : skym review 2 #

Total comments: 18

Patch Set 5 : vabr review #

Patch Set 6 : mark CreateAutofillEntry to public #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -6 lines) Patch
M components/autofill/core/browser/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autocomplete_sync_bridge.h View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc View 1 2 3 4 5 4 chunks +65 lines, -5 lines 0 comments Download
A components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc View 1 2 3 4 5 1 chunk +174 lines, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autocomplete_syncable_service.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 58 (43 generated)
Gang Wu
PTAL
4 years ago (2016-12-16 20:27:39 UTC) #19
skym
https://codereview.chromium.org/2582713003/diff/100001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc (right): https://codereview.chromium.org/2582713003/diff/100001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc#newcode166 components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:166: std::unique_ptr<syncer::EntityData> AutocompleteSyncBridge::CreateEntityData( Looks like you could get away with ...
4 years ago (2016-12-19 17:40:09 UTC) #22
Gang Wu
updated. https://codereview.chromium.org/2582713003/diff/100001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc (right): https://codereview.chromium.org/2582713003/diff/100001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc#newcode166 components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:166: std::unique_ptr<syncer::EntityData> AutocompleteSyncBridge::CreateEntityData( On 2016/12/19 17:40:08, skym wrote: > ...
4 years ago (2016-12-19 23:28:11 UTC) #25
skym
https://codereview.chromium.org/2582713003/diff/120001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc (right): https://codereview.chromium.org/2582713003/diff/120001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc#newcode119 components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:119: for (const AutofillEntry& it : entries) { I'm not ...
4 years ago (2016-12-20 17:23:44 UTC) #28
Mathieu
Hi, I won't be able to do the components/autofill review in time for you (going ...
4 years ago (2016-12-20 21:35:45 UTC) #33
Gang Wu
updated https://codereview.chromium.org/2582713003/diff/120001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc (right): https://codereview.chromium.org/2582713003/diff/120001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc#newcode119 components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:119: for (const AutofillEntry& it : entries) { On ...
4 years ago (2016-12-20 21:55:51 UTC) #35
skym
lgtm https://codereview.chromium.org/2582713003/diff/120001/components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc (right): https://codereview.chromium.org/2582713003/diff/120001/components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc#newcode138 components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc:138: file_ = temp_dir_.GetPath().AppendASCII("SyncTestWebDatabase"); On 2016/12/20 21:55:51, Gang Wu ...
4 years ago (2016-12-20 22:38:05 UTC) #36
vabr (Chromium)
Hi, an alternative autofill owner here. This change looks mostly good to me, but please ...
4 years ago (2016-12-21 08:48:07 UTC) #38
skym
https://codereview.chromium.org/2582713003/diff/140001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h File components/autofill/core/browser/webdata/autocomplete_sync_bridge.h (right): https://codereview.chromium.org/2582713003/diff/140001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h#newcode79 components/autofill/core/browser/webdata/autocomplete_sync_bridge.h:79: static AutofillEntry CreateAutofillEntry( On 2016/12/21 08:48:07, vabr (Chromium) wrote: ...
3 years, 12 months ago (2016-12-21 21:50:41 UTC) #43
Gang Wu
thanks vabr jump in to review! CL updated! https://codereview.chromium.org/2582713003/diff/120001/components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc (right): https://codereview.chromium.org/2582713003/diff/120001/components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc#newcode138 components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc:138: file_ ...
3 years, 12 months ago (2016-12-22 01:33:54 UTC) #46
vabr (Chromium)
Thank you, this CL LGTM. Cheers, Vaclav
3 years, 12 months ago (2016-12-22 16:19:15 UTC) #49
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/2582713003/180001
3 years, 12 months ago (2016-12-23 01:48:02 UTC) #52
commit-bot: I haz the power
Committed patchset #6 (id:180001)
3 years, 12 months ago (2016-12-23 04:22:10 UTC) #55
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/b5e5d4663754f905b2d1465c258ca1c21979c70a Cr-Commit-Position: refs/heads/master@{#440589}
3 years, 12 months ago (2016-12-23 04:24:32 UTC) #57
skym
3 years, 11 months ago (2017-01-09 19:59:19 UTC) #58
Message was sent while issue was closed.
https://codereview.chromium.org/2582713003/diff/100001/components/autofill/co...
File
components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc
(right):

https://codereview.chromium.org/2582713003/diff/100001/components/autofill/co...
components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc:37:
void VerifyEqual(const AutofillSpecifics& s1, const AutofillSpecifics& s2) {
On 2016/12/19 17:40:09, skym wrote:
> Can you just call SerializeAsString() on both and make sure the strings are
> equal? Sorry I set a bad example in device info sync bridge unittest!

I think I was wrong here to suggest this. Seeing two SerializeAsString() byte
arrays is not useful when you have a failing test case. Sorry!

Powered by Google App Engine
This is Rietveld 408576698