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

Issue 2834453006: [Sync] Update Type Info section of sync-internals. (Closed)

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

Description

[Sync] Update Type Info section of sync-internals. * Added DataTypeController's State to sync-internals. This should make debugging certain issues significantly easier. * Stopped double requesting directory status counters. * ModelSafeGroup's ToString is no longer SHOUTY_CAPS, but Captialized Words to be in line with ModelType, and to allow sync-internals to put line breaks between them. * ModelSafeGroup's ToString no longer has a default clause, to force new values to have handling added at compile time. * Split up ModelSafeGroup and a status/health message into two separate column on sync-internals. * Updated javascript updating logic to apply status counters to correctly write zeros. BUG=714198 Review-Url: https://codereview.chromium.org/2834453006 Cr-Commit-Position: refs/heads/master@{#466486} Committed: https://chromium.googlesource.com/chromium/src/+/0cfadad67cd27254cce5ae62891aab6f5fc1d643

Patch Set 1 #

Patch Set 2 : Reverted change to sync_backend_host_core.cc. #

Patch Set 3 : Fix ModelSafeWorkerTest. #

Patch Set 4 : Updating ToString methods to clearly always return a value for picky compilers. #

Total comments: 2

Patch Set 5 : Reworked some of the variables in GetTypeStatusMap(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -75 lines) Patch
M chrome/browser/ui/webui/sync_internals_browsertest.js View 1 chunk +8 lines, -4 lines 0 comments Download
M components/browser_sync/profile_sync_service.cc View 1 2 3 4 3 chunks +25 lines, -49 lines 0 comments Download
M components/sync/driver/data_type_controller.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/driver/data_type_controller.cc View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
M components/sync/driver/resources/about.html View 1 chunk +4 lines, -2 lines 0 comments Download
M components/sync/driver/resources/about.js View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync/engine/model_safe_worker.cc View 1 2 3 1 chunk +9 lines, -10 lines 0 comments Download
M components/sync/engine/model_safe_worker_unittest.cc View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M components/sync/engine_impl/model_type_registry.cc View 1 chunk +3 lines, -1 line 0 comments Download
M components/sync/syncable/model_type.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (21 generated)
skym
PTAL
3 years, 8 months ago (2017-04-21 18:00:45 UTC) #5
pavely
lgtm https://codereview.chromium.org/2834453006/diff/60001/components/browser_sync/profile_sync_service.cc File components/browser_sync/profile_sync_service.cc (right): https://codereview.chromium.org/2834453006/diff/60001/components/browser_sync/profile_sync_service.cc#newcode1788 components/browser_sync/profile_sync_service.cc:1788: ModelSafeRoutingInfo routing_info; With the code around this line ...
3 years, 8 months ago (2017-04-21 20:30:06 UTC) #16
skym
https://codereview.chromium.org/2834453006/diff/60001/components/browser_sync/profile_sync_service.cc File components/browser_sync/profile_sync_service.cc (right): https://codereview.chromium.org/2834453006/diff/60001/components/browser_sync/profile_sync_service.cc#newcode1788 components/browser_sync/profile_sync_service.cc:1788: ModelSafeRoutingInfo routing_info; On 2017/04/21 20:30:06, pavely wrote: > With ...
3 years, 8 months ago (2017-04-21 20:44:15 UTC) #17
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/2834453006/80001
3 years, 8 months ago (2017-04-21 20:44:53 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/417885)
3 years, 8 months ago (2017-04-21 20:53:43 UTC) #22
skym
+tommycli for chrome/browser/ui/webui/sync_internals_browsertest.js , PTAL
3 years, 8 months ago (2017-04-21 22:03:10 UTC) #23
skym
+tommycli (for real this time) for chrome/browser/ui/webui/sync_internals_browsertest.js , PTAL
3 years, 8 months ago (2017-04-21 22:03:39 UTC) #25
tommycli
lgtm
3 years, 8 months ago (2017-04-21 22:06:56 UTC) #26
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/2834453006/80001
3 years, 8 months ago (2017-04-21 22:08:21 UTC) #28
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 23:13:30 UTC) #31
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/0cfadad67cd27254cce5ae62891a...

Powered by Google App Engine
This is Rietveld 408576698