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

Issue 1888923003: [Sync] DeviceInfoService should format ClientTag in backwards compatible way (Closed)

Created:
4 years, 8 months ago by pavely
Modified:
4 years, 8 months ago
Reviewers:
maxbogue, skym
CC:
chromium-reviews, sync-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] DeviceInfoService should format ClientTag in backwards compatible way In order for existing clients to work correctly with entries from USS based DeviceInfoService it should format ClientTag in the same way DeviceInfoSyncService does. In this change: - In all interactions with sync "DeviceInfo_" prefix is used. - plain cache_guids are used as local storage keys and keys into all_data_. BUG=603695 R=skym@chromium.org Committed: https://crrev.com/76aa5567e3cf4ff5dc664c5d645c65c3a0be6987 Cr-Commit-Position: refs/heads/master@{#387742}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address Sky's and Max's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -58 lines) Patch
M components/sync_driver/device_info_service.h View 1 chunk +7 lines, -0 lines 0 comments Download
M components/sync_driver/device_info_service.cc View 1 10 chunks +47 lines, -26 lines 0 comments Download
M components/sync_driver/device_info_service_unittest.cc View 17 chunks +51 lines, -32 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (3 generated)
pavely
4 years, 8 months ago (2016-04-14 20:52:37 UTC) #1
skym
This is temporary, right? Ultimately the processor is going to speak in terms of keys, ...
4 years, 8 months ago (2016-04-14 21:08:26 UTC) #2
skym
On 2016/04/14 21:08:26, skym wrote: > This is temporary, right? Ultimately the processor is going ...
4 years, 8 months ago (2016-04-14 21:09:19 UTC) #3
maxbogue
+1 to Sky's question; we're gonna have the service <-> processor interactions also use the ...
4 years, 8 months ago (2016-04-14 22:30:13 UTC) #5
pavely
On 2016/04/14 21:08:26, skym wrote: > This is temporary, right? Ultimately the processor is going ...
4 years, 8 months ago (2016-04-14 23:37:14 UTC) #6
pavely
https://codereview.chromium.org/1888923003/diff/1/components/sync_driver/device_info_service.cc File components/sync_driver/device_info_service.cc (right): https://codereview.chromium.org/1888923003/diff/1/components/sync_driver/device_info_service.cc#newcode44 components/sync_driver/device_info_service.cc:44: const char kClientTagPrefix[] = "DeviceInfo_"; On 2016/04/14 22:30:13, maxbogue ...
4 years, 8 months ago (2016-04-14 23:37:23 UTC) #7
skym
lgtm
4 years, 8 months ago (2016-04-15 14:52:05 UTC) #8
maxbogue
lgtm
4 years, 8 months ago (2016-04-15 21:37:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1888923003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1888923003/20001
4 years, 8 months ago (2016-04-15 22:45:15 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-15 23:20:10 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 23:21:46 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/76aa5567e3cf4ff5dc664c5d645c65c3a0be6987
Cr-Commit-Position: refs/heads/master@{#387742}

Powered by Google App Engine
This is Rietveld 408576698