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

Issue 19227004: [Sync] Add CoreTypes support (Closed)

Created:
7 years, 5 months ago by Nicolas Zea
Modified:
7 years, 5 months ago
CC:
chromium-reviews, tim+watch_chromium.org, rsimha+watch_chromium.org, haitaol+watch_chromium.org, Raghu Simha
Visibility:
Public.

Description

[Sync] Add CoreTypes support Previously we manually added "always enable" types from within the DataTypeManager. Now the notion of types to always enable is pulled into its own construct, CoreTypes (and it's sibling PriorityCoreTypes). Tests have been updated to exercise this, and SyncedNotifications has been added as the first Core type. BUG=245762 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212232

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add Core types and update tests #

Total comments: 7

Patch Set 3 : Address final comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -71 lines) Patch
M chrome/browser/sync/glue/data_type_manager_impl.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl_unittest.cc View 1 2 55 chunks +81 lines, -64 lines 0 comments Download
M sync/internal_api/public/base/model_type.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M sync/syncable/model_type.cc View 1 2 3 chunks +22 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nicolas Zea
PTAL
7 years, 5 months ago (2013-07-15 18:24:16 UTC) #1
tim (not reviewing)
https://codereview.chromium.org/19227004/diff/1/chrome/browser/sync/glue/data_type_manager_impl.cc File chrome/browser/sync/glue/data_type_manager_impl.cc (right): https://codereview.chromium.org/19227004/diff/1/chrome/browser/sync/glue/data_type_manager_impl.cc#newcode84 chrome/browser/sync/glue/data_type_manager_impl.cc:84: desired_types.Put(syncer::SYNCED_NOTIFICATIONS); We don't enable SYNCED_NOTIFICATIONS on Android, right? It'd ...
7 years, 5 months ago (2013-07-15 18:36:17 UTC) #2
Nicolas Zea
PTAL https://codereview.chromium.org/19227004/diff/1/chrome/browser/sync/glue/data_type_manager_impl.cc File chrome/browser/sync/glue/data_type_manager_impl.cc (right): https://codereview.chromium.org/19227004/diff/1/chrome/browser/sync/glue/data_type_manager_impl.cc#newcode84 chrome/browser/sync/glue/data_type_manager_impl.cc:84: desired_types.Put(syncer::SYNCED_NOTIFICATIONS); On 2013/07/15 18:36:17, timsteele wrote: > We ...
7 years, 5 months ago (2013-07-15 22:48:42 UTC) #3
tim (not reviewing)
LGTM with a few nits / questions. https://codereview.chromium.org/19227004/diff/12001/chrome/browser/sync/glue/data_type_manager_impl_unittest.cc File chrome/browser/sync/glue/data_type_manager_impl_unittest.cc (right): https://codereview.chromium.org/19227004/diff/12001/chrome/browser/sync/glue/data_type_manager_impl_unittest.cc#newcode59 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc:59: syncer::ModelTypeSet AddCoreTypesTo(syncer::ModelTypeSet ...
7 years, 5 months ago (2013-07-16 16:54:54 UTC) #4
Nicolas Zea
Comments addressed, commitbot here I come! https://codereview.chromium.org/19227004/diff/12001/chrome/browser/sync/glue/data_type_manager_impl_unittest.cc File chrome/browser/sync/glue/data_type_manager_impl_unittest.cc (right): https://codereview.chromium.org/19227004/diff/12001/chrome/browser/sync/glue/data_type_manager_impl_unittest.cc#newcode59 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc:59: syncer::ModelTypeSet AddCoreTypesTo(syncer::ModelTypeSet types) ...
7 years, 5 months ago (2013-07-17 21:05:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/19227004/22001
7 years, 5 months ago (2013-07-17 21:07:53 UTC) #6
commit-bot: I haz the power
7 years, 5 months ago (2013-07-18 03:53:25 UTC) #7
Message was sent while issue was closed.
Change committed as 212232

Powered by Google App Engine
This is Rietveld 408576698