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

Issue 2508263003: [sync] skeleton implementation of AutocompleteSyncBridge (Closed)

Created:
4 years, 1 month ago by Patrick Noland
Modified:
4 years 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, mac-reviews_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, sync-reviews_chromium.org, sdefresne+watch_chromium.org, Ilya Sherman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sync] skeleton implementation of AutocompleteSyncBridge AutocompleteSyncBridge is the USS(unified sync and storage) equivalent of the AutocompleteSyncableService. The goal is for identical functionality, but with reduced memory usage due to unifying the storage of sync metadata and autofill data. R=pavely@chromium.org,isherman@chromium.org,pkasting@chromium.org BUG=666406 Committed: https://crrev.com/aa02c72c403675f9b2f1e5636a6e1c820959accf Cr-Commit-Position: refs/heads/master@{#434796}

Patch Set 1 : [sync] skeleton implementation of autocomplete_sync_bridge #

Total comments: 54

Patch Set 2 : Address Max and Pavel's comments #

Total comments: 20

Patch Set 3 : Max's comments; merged chrome_sync_client #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -20 lines) Patch
M chrome/browser/sync/chrome_sync_client.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M components/autofill/core/browser/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A components/autofill/core/browser/webdata/autocomplete_sync_bridge.h View 1 2 1 chunk +79 lines, -0 lines 0 comments Download
A components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc View 1 2 1 chunk +128 lines, -0 lines 0 comments Download
M components/browser_sync/profile_sync_components_factory_impl.cc View 1 2 1 chunk +12 lines, -5 lines 0 comments Download
M components/sync/driver/model_type_controller.cc View 1 2 2 chunks +42 lines, -10 lines 0 comments Download
M components/sync/driver/sync_driver_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/driver/sync_driver_switches.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M components/webdata_services/web_data_service_wrapper.cc View 3 chunks +13 lines, -4 lines 0 comments Download
M ios/chrome/browser/sync/ios_chrome_sync_client.mm View 1 2 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 55 (39 generated)
Patrick Noland
pavely, PTAL at everything isherman, PTAL at components/autofill/* pkasting, PTAL at components/webdata/*
4 years, 1 month ago (2016-11-18 21:44:40 UTC) #21
Ilya Sherman
I haven't been actively working on Autofill for quite a while, and this change seems ...
4 years, 1 month ago (2016-11-18 22:05:17 UTC) #23
maxbogue
Mostly looks good, just a bunch of nitpicky comments. Also, please manually line-wrap your description ...
4 years, 1 month ago (2016-11-18 22:22:36 UTC) #25
maxbogue
Moving Ilya to cc.
4 years, 1 month ago (2016-11-18 22:26:18 UTC) #28
Peter Kasting
components/webdata_services/ LGTM
4 years, 1 month ago (2016-11-19 22:29:55 UTC) #29
pavely
https://codereview.chromium.org/2508263003/diff/60001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc (right): https://codereview.chromium.org/2508263003/diff/60001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc#newcode107 components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:107: return KeyToTag(storage_key); KeyToTag is just prepending storage_key with prefix. ...
4 years, 1 month ago (2016-11-21 22:54:19 UTC) #31
Patrick Noland
Pavel, Mathieu, PTAL https://codereview.chromium.org/2508263003/diff/60001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc (right): https://codereview.chromium.org/2508263003/diff/60001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc#newcode3 components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:3: // found in the LICENSE file. ...
4 years ago (2016-11-22 18:51:05 UTC) #36
maxbogue
Another little drive-by, sorry! https://codereview.chromium.org/2508263003/diff/80001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc (right): https://codereview.chromium.org/2508263003/diff/80001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc#newcode21 components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:21: // static remove; not needed ...
4 years ago (2016-11-22 19:07:24 UTC) #37
pavely
lgtm % max's comments
4 years ago (2016-11-22 21:56:56 UTC) #38
Mathieu
just nits, thanks lgtm https://codereview.chromium.org/2508263003/diff/80001/components/browser_sync/profile_sync_components_factory_impl.cc File components/browser_sync/profile_sync_components_factory_impl.cc (right): https://codereview.chromium.org/2508263003/diff/80001/components/browser_sync/profile_sync_components_factory_impl.cc#newcode155 components/browser_sync/profile_sync_components_factory_impl.cc:155: // Autofill sync is enabled ...
4 years ago (2016-11-23 12:47:21 UTC) #39
Mathieu
On 2016/11/23 12:47:21, Mathieu Perreault wrote: > just nits, thanks lgtm > > https://codereview.chromium.org/2508263003/diff/80001/components/browser_sync/profile_sync_components_factory_impl.cc > ...
4 years ago (2016-11-23 12:48:15 UTC) #40
Patrick Noland
On 2016/11/23 12:48:15, Mathieu Perreault wrote: > On 2016/11/23 12:47:21, Mathieu Perreault wrote: > > ...
4 years ago (2016-11-23 20:14:21 UTC) #41
Patrick Noland
https://codereview.chromium.org/2508263003/diff/80001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc (right): https://codereview.chromium.org/2508263003/diff/80001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc#newcode21 components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:21: // static On 2016/11/22 19:07:23, maxbogue wrote: > remove; ...
4 years ago (2016-11-29 00:09:51 UTC) #46
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/2508263003/100001
4 years ago (2016-11-29 00:10:46 UTC) #49
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years ago (2016-11-29 00:21:38 UTC) #52
commit-bot: I haz the power
4 years ago (2016-11-29 00:24:22 UTC) #54
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/aa02c72c403675f9b2f1e5636a6e1c820959accf
Cr-Commit-Position: refs/heads/master@{#434796}

Powered by Google App Engine
This is Rietveld 408576698