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

Issue 2468183005: [Sync] Prepend global metadata key with model type prefix (Closed)

Created:
4 years, 1 month ago by pavely
Modified:
4 years, 1 month ago
Reviewers:
maxbogue, skym
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] ModelTypeStore: Prepend global metadata key with model type prefix The issue is that two different model types sharing the same backend use the same key to store global metadata record. The fix is to add model type prefix to record key. R=maxbogue@chromium.org BUG=657082 Committed: https://crrev.com/89cc2c61dc9cd61a732b2f337c53fbf26c41fbe0 Cr-Commit-Position: refs/heads/master@{#429791}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 8

Patch Set 3 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -75 lines) Patch
M components/sync/model/model_type_store.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M components/sync/model/model_type_store.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M components/sync/model/model_type_store_test_util.cc View 2 chunks +2 lines, -1 line 0 comments Download
M components/sync/model_impl/model_type_store_impl.h View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M components/sync/model_impl/model_type_store_impl.cc View 1 2 10 chunks +23 lines, -16 lines 0 comments Download
M components/sync/model_impl/model_type_store_impl_unittest.cc View 4 chunks +129 lines, -47 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
pavely
4 years, 1 month ago (2016-11-03 20:46:45 UTC) #4
skym
lgtm https://codereview.chromium.org/2468183005/diff/20001/components/sync/model_impl/model_type_store_impl.cc File components/sync/model_impl/model_type_store_impl.cc (right): https://codereview.chromium.org/2468183005/diff/20001/components/sync/model_impl/model_type_store_impl.cc#newcode35 components/sync/model_impl/model_type_store_impl.cc:35: // Format prefix key for data/metadata records with ...
4 years, 1 month ago (2016-11-03 21:03:40 UTC) #6
maxbogue
lgtm https://codereview.chromium.org/2468183005/diff/20001/components/sync/model_impl/model_type_store_impl.cc File components/sync/model_impl/model_type_store_impl.cc (right): https://codereview.chromium.org/2468183005/diff/20001/components/sync/model_impl/model_type_store_impl.cc#newcode35 components/sync/model_impl/model_type_store_impl.cc:35: // Format prefix key for data/metadata records with ...
4 years, 1 month ago (2016-11-03 21:31:53 UTC) #9
pavely
https://codereview.chromium.org/2468183005/diff/20001/components/sync/model_impl/model_type_store_impl.cc File components/sync/model_impl/model_type_store_impl.cc (right): https://codereview.chromium.org/2468183005/diff/20001/components/sync/model_impl/model_type_store_impl.cc#newcode35 components/sync/model_impl/model_type_store_impl.cc:35: // Format prefix key for data/metadata records with |type|. ...
4 years, 1 month ago (2016-11-03 23:25:52 UTC) #10
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/2468183005/40001
4 years, 1 month ago (2016-11-03 23:27:38 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/310913)
4 years, 1 month ago (2016-11-04 03:03:19 UTC) #15
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/2468183005/40001
4 years, 1 month ago (2016-11-04 03:53:04 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-04 05:18:37 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 05:21:26 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/89cc2c61dc9cd61a732b2f337c53fbf26c41fbe0
Cr-Commit-Position: refs/heads/master@{#429791}

Powered by Google App Engine
This is Rietveld 408576698