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

Issue 2360283003: [Sync] When a data type is not initialized, also should not be registered with backend. (Closed)

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

Description

[Sync] When a data type is not initialized, also should not be registered with backend. The switch from queue to deque is to allow iterating over the data structure. BUG=647875 Committed: https://crrev.com/a842013d816fd4a6c5855bffd65a0a7e27cfdd02 Cr-Commit-Position: refs/heads/master@{#421095}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Switched to GetEnabledTypes() #

Total comments: 1

Patch Set 3 : Back to member variable, since as Pavel pointed out, the status map can change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -65 lines) Patch
M components/sync/driver/data_type_manager_impl.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M components/sync/driver/data_type_manager_impl.cc View 1 2 19 chunks +55 lines, -61 lines 0 comments Download
M components/sync/driver/data_type_manager_impl_unittest.cc View 3 chunks +35 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
skym
PTAL
4 years, 3 months ago (2016-09-22 22:14:14 UTC) #4
pavely
lgtm Consider suggestions I left. Either way is fine with me. https://codereview.chromium.org/2360283003/diff/1/components/sync/driver/data_type_manager_impl.cc File components/sync/driver/data_type_manager_impl.cc (right): ...
4 years, 2 months ago (2016-09-26 17:50:48 UTC) #8
skym
Updated for comments, made a GetEnabledTypes() accessor instead. https://codereview.chromium.org/2360283003/diff/1/components/sync/driver/data_type_manager_impl.cc File components/sync/driver/data_type_manager_impl.cc (right): https://codereview.chromium.org/2360283003/diff/1/components/sync/driver/data_type_manager_impl.cc#newcode170 components/sync/driver/data_type_manager_impl.cc:170: for ...
4 years, 2 months ago (2016-09-26 22:26:14 UTC) #11
skym
https://codereview.chromium.org/2360283003/diff/20001/components/sync/driver/data_type_manager_impl.h File components/sync/driver/data_type_manager_impl.h (right): https://codereview.chromium.org/2360283003/diff/20001/components/sync/driver/data_type_manager_impl.h#newcode157 components/sync/driver/data_type_manager_impl.h:157: syncer::ModelTypeSet enabled_types_; Hmm, this should have been deleted.
4 years, 2 months ago (2016-09-26 23:42:34 UTC) #14
skym
PTAL.
4 years, 2 months ago (2016-09-26 23:57:26 UTC) #16
pavely
lgtm
4 years, 2 months ago (2016-09-26 23:59:07 UTC) #18
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/2360283003/40001
4 years, 2 months ago (2016-09-27 03:44:14 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-09-27 03:49:40 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 03:52:11 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a842013d816fd4a6c5855bffd65a0a7e27cfdd02
Cr-Commit-Position: refs/heads/master@{#421095}

Powered by Google App Engine
This is Rietveld 408576698