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

Issue 2306763002: Add PrinterSpecifics to the sync protos. (Closed)

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

Description

Add PrinterSpecifics to the sync protos. PrinterSpecifics will sync Printer device information for Chrome OS. This just adds the proto. Actual syncing will follow. BUG=616862 TEST=Unit tests pass. Committed: https://crrev.com/a66410d63369081eb6d14466d0e8b5fb1126da07 Cr-Commit-Position: refs/heads/master@{#418456}

Patch Set 1 #

Patch Set 2 : Try to fix test server #

Patch Set 3 : Fixed test server #

Patch Set 4 : rebase #

Total comments: 6

Patch Set 5 : add comments to proto #

Total comments: 4

Patch Set 6 : PrintersSpecifics -> PrinterSpecifics #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -10 lines) Patch
M components/browser_sync/browser/profile_sync_service.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/sync/base/data_type_histogram.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M components/sync/base/model_type.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/driver/model_association_manager.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M components/sync/driver/pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/driver/pref_names.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/driver/sync_prefs.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/driver/user_selectable_sync_type.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/sync/protocol/nigori_specifics.proto View 1 chunk +3 lines, -0 lines 0 comments Download
A components/sync/protocol/printer_specifics.proto View 1 2 3 4 5 1 chunk +59 lines, -0 lines 0 comments Download
M components/sync/protocol/proto_value_conversions.h View 5 3 chunks +10 lines, -0 lines 0 comments Download
M components/sync/protocol/proto_value_conversions.cc View 5 4 chunks +28 lines, -0 lines 0 comments Download
M components/sync/protocol/proto_value_conversions_unittest.cc View 5 3 chunks +6 lines, -1 line 0 comments Download
M components/sync/protocol/protocol_sources.gni View 5 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/protocol/sync.proto View 5 2 chunks +2 lines, -0 lines 0 comments Download
M components/sync/syncable/model_type.cc View 1 2 3 4 5 4 chunks +9 lines, -1 line 0 comments Download
M components/sync/syncable/model_type_unittest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/syncable/nigori_util.cc View 1 2 3 4 5 chunks +6 lines, -2 lines 0 comments Download
M components/sync/tools/testserver/chromiumsync.py View 1 2 3 4 5 5 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 30 (17 generated)
skau
PTAL. I think this is a complete implementation to add a printer sync datatype. Even ...
4 years, 3 months ago (2016-09-02 19:42:41 UTC) #6
Nicolas Zea
Looks like this isn't compiling. I think you might need to update protocol.gypi to include ...
4 years, 3 months ago (2016-09-02 23:55:20 UTC) #11
skau
On 2016/09/02 23:55:20, Nicolas Zea wrote: > Looks like this isn't compiling. I think you ...
4 years, 3 months ago (2016-09-06 20:08:56 UTC) #12
Nicolas Zea
https://codereview.chromium.org/2306763002/diff/60001/components/sync/base/model_type.h File components/sync/base/model_type.h (right): https://codereview.chromium.org/2306763002/diff/60001/components/sync/base/model_type.h#newcode136 components/sync/base/model_type.h:136: PRINTER, nit: the enum is typically plural, so this ...
4 years, 3 months ago (2016-09-07 00:18:05 UTC) #17
skau
Comments addressed. PTAL. https://codereview.chromium.org/2306763002/diff/60001/components/sync/base/model_type.h File components/sync/base/model_type.h (right): https://codereview.chromium.org/2306763002/diff/60001/components/sync/base/model_type.h#newcode136 components/sync/base/model_type.h:136: PRINTER, On 2016/09/07 00:18:04, Nicolas Zea ...
4 years, 3 months ago (2016-09-09 19:02:15 UTC) #18
Nicolas Zea
https://codereview.chromium.org/2306763002/diff/80001/components/sync/protocol/sync.proto File components/sync/protocol/sync.proto (right): https://codereview.chromium.org/2306763002/diff/80001/components/sync/protocol/sync.proto#newcode140 components/sync/protocol/sync.proto:140: optional PrintersSpecifics printers = 410745; I should have been ...
4 years, 3 months ago (2016-09-13 00:14:06 UTC) #19
skau
Thanks for pointing out the issue in model_type.cc. It should be fixed now. https://codereview.chromium.org/2306763002/diff/80001/components/sync/protocol/sync.proto File ...
4 years, 3 months ago (2016-09-13 21:02:44 UTC) #20
Nicolas Zea
On 2016/09/13 21:02:44, skau wrote: > Thanks for pointing out the issue in model_type.cc. It ...
4 years, 3 months ago (2016-09-13 21:11:57 UTC) #21
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/2306763002/100001
4 years, 3 months ago (2016-09-13 22:34:55 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/199315)
4 years, 3 months ago (2016-09-14 00:36:03 UTC) #25
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/2306763002/100001
4 years, 3 months ago (2016-09-14 01:36:31 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-14 02:12:26 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 02:14:15 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a66410d63369081eb6d14466d0e8b5fb1126da07
Cr-Commit-Position: refs/heads/master@{#418456}

Powered by Google App Engine
This is Rietveld 408576698