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

Issue 2794413002: [USS] Add SyncMetadataStore interface (Closed)

Created:
3 years, 8 months ago by Gang Wu
Modified:
3 years, 8 months ago
Reviewers:
Mathieu, pavely
CC:
chromium-reviews, rouslan+autofill_chromium.org, rogerm+autofillwatch_chromium.org, 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/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UpdateSyncMetadata, ClearSyncMetadata, UpdateModelTypeState, ClearModelTypeState into SyncMetadataStore interface. Let AutofillTable inherit SyncMetadataStore. Also create a SyncMetadataStoreChangeList for autofill. Will do this change for typed url in next CL. BUG=708275 Review-Url: https://codereview.chromium.org/2794413002 Cr-Commit-Position: refs/heads/master@{#466568} Committed: https://chromium.googlesource.com/chromium/src/+/47d7aae76735286b86b85a3c582870677fce05d2

Patch Set 1 #

Total comments: 15

Patch Set 2 : update names #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -174 lines) Patch
M components/autofill/core/browser/BUILD.gn View 1 2 chunks +1 line, -5 lines 0 comments Download
M components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc View 1 4 chunks +8 lines, -6 lines 0 comments Download
D components/autofill/core/browser/webdata/autofill_metadata_change_list.h View 1 chunk +0 lines, -55 lines 0 comments Download
D components/autofill/core/browser/webdata/autofill_metadata_change_list.cc View 1 chunk +0 lines, -75 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_table.h View 1 3 chunks +10 lines, -14 lines 0 comments Download
M components/sync/BUILD.gn View 1 2 chunks +3 lines, -0 lines 0 comments Download
A components/sync/model/sync_metadata_store.h View 1 1 chunk +59 lines, -0 lines 0 comments Download
A + components/sync/model_impl/sync_metadata_store_change_list.h View 1 2 chunks +16 lines, -19 lines 0 comments Download
A components/sync/model_impl/sync_metadata_store_change_list.cc View 1 1 chunk +75 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (26 generated)
Gang Wu
PTAL
3 years, 8 months ago (2017-04-04 19:45:01 UTC) #8
pavely
https://codereview.chromium.org/2794413002/diff/1/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc (right): https://codereview.chromium.org/2794413002/diff/1/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc#newcode221 components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:221: ->TakeError(); If you decide to keep TakeError in MetadataChangeList ...
3 years, 8 months ago (2017-04-06 22:56:42 UTC) #9
skym
https://codereview.chromium.org/2794413002/diff/1/components/sync/model/metadata_change_list.h File components/sync/model/metadata_change_list.h (right): https://codereview.chromium.org/2794413002/diff/1/components/sync/model/metadata_change_list.h#newcode51 components/sync/model/metadata_change_list.h:51: virtual base::Optional<syncer::ModelError> TakeError() = 0; What was the decision ...
3 years, 8 months ago (2017-04-06 23:01:58 UTC) #11
pavely
https://codereview.chromium.org/2794413002/diff/1/components/sync/model/metadata_change_list.h File components/sync/model/metadata_change_list.h (right): https://codereview.chromium.org/2794413002/diff/1/components/sync/model/metadata_change_list.h#newcode51 components/sync/model/metadata_change_list.h:51: virtual base::Optional<syncer::ModelError> TakeError() = 0; On 2017/04/06 23:01:58, skym ...
3 years, 8 months ago (2017-04-06 23:36:02 UTC) #12
Gang Wu
name updated https://codereview.chromium.org/2794413002/diff/1/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc (right): https://codereview.chromium.org/2794413002/diff/1/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc#newcode221 components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:221: ->TakeError(); On 2017/04/06 22:56:42, pavely wrote: > ...
3 years, 8 months ago (2017-04-21 05:28:03 UTC) #24
pavely
lgtm
3 years, 8 months ago (2017-04-21 23:41:44 UTC) #26
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/2794413002/60001
3 years, 8 months ago (2017-04-22 15:10:47 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/418180)
3 years, 8 months ago (2017-04-22 15:15:45 UTC) #30
Gang Wu
hi mathp@, PTAL
3 years, 8 months ago (2017-04-23 01:42:59 UTC) #32
Mathieu
autofill lgtm
3 years, 8 months ago (2017-04-23 08:13:57 UTC) #33
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/2794413002/60001
3 years, 8 months ago (2017-04-23 18:34:29 UTC) #35
commit-bot: I haz the power
3 years, 8 months ago (2017-04-23 19:35:07 UTC) #38
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/47d7aae76735286b86b85a3c5828...

Powered by Google App Engine
This is Rietveld 408576698