|
|
Chromium Code Reviews
Description[USS] implement CreateMetadataChangeList and GetClientTag
Implement two functions in TypedURLSyncBridge, CreateMetadataChangeList
and GetClientTag.
BUG=708275
Review-Url: https://codereview.chromium.org/2850633004
Cr-Commit-Position: refs/heads/master@{#470491}
Committed: https://chromium.googlesource.com/chromium/src/+/d5a746320e0b79e86e7531efd8d668b352ec0400
Patch Set 1 #
Total comments: 1
Patch Set 2 : Pavel's review #
Total comments: 2
Patch Set 3 : reorder parameters #
Total comments: 4
Patch Set 4 : comments #
Messages
Total messages: 38 (29 generated)
The CQ bit was checked by gangwu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== fix change interface level BUG= ========== to ========== [USS] implement CreateMetadataChangeList and GetClientTag Implement two functions in TypedURLSyncBridge, CreateMetadataChangeList and GetClientTag. And also revert https://codereview.chromium.org/2841653003/, which put interface at database level. In this CL, I put the interface at backend level, instead of at database level, since history should not expose database to outside. BUG=708275 ==========
gangwu@chromium.org changed reviewers: + pavely@chromium.org
The CQ bit was checked by gangwu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #1 (id:1) has been deleted
Description was changed from ========== [USS] implement CreateMetadataChangeList and GetClientTag Implement two functions in TypedURLSyncBridge, CreateMetadataChangeList and GetClientTag. And also revert https://codereview.chromium.org/2841653003/, which put interface at database level. In this CL, I put the interface at backend level, instead of at database level, since history should not expose database to outside. BUG=708275 ========== to ========== [USS] implement CreateMetadataChangeList and GetClientTag Implement two functions in TypedURLSyncBridge, CreateMetadataChangeList and GetClientTag. And also revert https://codereview.chromium.org/2841653003/, which put interface at database level. In this CL, I put the interface at backend level, instead of at database level, since HistoryBackend should not expose database to outside. BUG=708275 ==========
Hi Pavel, PTAL
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2850633004/diff/20001/components/history/core... File components/history/core/browser/history_backend.h (right): https://codereview.chromium.org/2850633004/diff/20001/components/history/core... components/history/core/browser/history_backend.h:104: public syncer::SyncMetadataStore { I don't really like exposing SyncMetadataStore to consumers of HistoryBackend. What if instead we passed pointer to SyncMetadataStore into constructor of TypedURLSyncBridge? We instantiate bridge in HistoryBackend::Init where we can get the reference to HistoryDatabase.
Description was changed from ========== [USS] implement CreateMetadataChangeList and GetClientTag Implement two functions in TypedURLSyncBridge, CreateMetadataChangeList and GetClientTag. And also revert https://codereview.chromium.org/2841653003/, which put interface at database level. In this CL, I put the interface at backend level, instead of at database level, since HistoryBackend should not expose database to outside. BUG=708275 ========== to ========== [USS] implement CreateMetadataChangeList and GetClientTag Implement two functions in TypedURLSyncBridge, CreateMetadataChangeList and GetClientTag. Hooked up TypedURLSyncBridge and TypedURLSyncMetadataDatabase. BUG=708275 ==========
Patchset #2 (id:40001) has been deleted
Patchset #2 (id:60001) has been deleted
The CQ bit was checked by gangwu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== [USS] implement CreateMetadataChangeList and GetClientTag Implement two functions in TypedURLSyncBridge, CreateMetadataChangeList and GetClientTag. Hooked up TypedURLSyncBridge and TypedURLSyncMetadataDatabase. BUG=708275 ========== to ========== [USS] implement CreateMetadataChangeList and GetClientTag Implement two functions in TypedURLSyncBridge, CreateMetadataChangeList and GetClientTag. BUG=708275 ==========
updated.
lgtm https://codereview.chromium.org/2850633004/diff/80001/components/history/core... File components/history/core/browser/typed_url_sync_bridge.h (right): https://codereview.chromium.org/2850633004/diff/80001/components/history/core... components/history/core/browser/typed_url_sync_bridge.h:24: syncer::SyncMetadataStore* sync_metadata_store); nit: Could you move history_backend and sync_metadata_store parameters together since they are related.
gangwu@chromium.org changed reviewers: + brettw@chromium.org
Hi Brett, PTAL https://codereview.chromium.org/2850633004/diff/80001/components/history/core... File components/history/core/browser/typed_url_sync_bridge.h (right): https://codereview.chromium.org/2850633004/diff/80001/components/history/core... components/history/core/browser/typed_url_sync_bridge.h:24: syncer::SyncMetadataStore* sync_metadata_store); On 2017/05/01 18:58:21, pavely wrote: > nit: Could you move history_backend and sync_metadata_store parameters together > since they are related. Done.
The CQ bit was checked by gangwu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm https://codereview.chromium.org/2850633004/diff/100001/components/history/cor... File components/history/core/browser/typed_url_sync_bridge.h (right): https://codereview.chromium.org/2850633004/diff/100001/components/history/cor... components/history/core/browser/typed_url_sync_bridge.h:23: syncer::SyncMetadataStore* sync_metadata_store, Can you add a comment here that the sync_metadata_store object must outlive this class? https://codereview.chromium.org/2850633004/diff/100001/components/history/cor... components/history/core/browser/typed_url_sync_bridge.h:59: // The database for storing typed urls sync metadata and state. Can you comment here that this is a non-owning pointer?
The CQ bit was checked by gangwu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
https://codereview.chromium.org/2850633004/diff/100001/components/history/cor... File components/history/core/browser/typed_url_sync_bridge.h (right): https://codereview.chromium.org/2850633004/diff/100001/components/history/cor... components/history/core/browser/typed_url_sync_bridge.h:23: syncer::SyncMetadataStore* sync_metadata_store, On 2017/05/09 19:32:13, brettw (behind--catching up) wrote: > Can you add a comment here that the sync_metadata_store object must outlive this > class? Done. https://codereview.chromium.org/2850633004/diff/100001/components/history/cor... components/history/core/browser/typed_url_sync_bridge.h:59: // The database for storing typed urls sync metadata and state. On 2017/05/09 19:32:13, brettw (behind--catching up) wrote: > Can you comment here that this is a non-owning pointer? Done.
The CQ bit was checked by gangwu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from pavely@chromium.org, brettw@chromium.org Link to the patchset: https://codereview.chromium.org/2850633004/#ps120001 (title: "comments")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 120001, "attempt_start_ts": 1494395115408460,
"parent_rev": "91088a195969f5af61f404c9f02edc622cbe373a", "commit_rev":
"d5a746320e0b79e86e7531efd8d668b352ec0400"}
Message was sent while issue was closed.
Description was changed from ========== [USS] implement CreateMetadataChangeList and GetClientTag Implement two functions in TypedURLSyncBridge, CreateMetadataChangeList and GetClientTag. BUG=708275 ========== to ========== [USS] implement CreateMetadataChangeList and GetClientTag Implement two functions in TypedURLSyncBridge, CreateMetadataChangeList and GetClientTag. BUG=708275 Review-Url: https://codereview.chromium.org/2850633004 Cr-Commit-Position: refs/heads/master@{#470491} Committed: https://chromium.googlesource.com/chromium/src/+/d5a746320e0b79e86e7531efd8d6... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:120001) as https://chromium.googlesource.com/chromium/src/+/d5a746320e0b79e86e7531efd8d6... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
