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

Issue 2374913002: [USS] Show USS counters in about:sync page (Closed)

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

Description

[USS] Show USS counters in about:sync page BUG=328606 Committed: https://crrev.com/d26ef311a38ab8e88b4fa82a6a6753786a873e36 Cr-Commit-Position: refs/heads/master@{#423808}

Patch Set 1 #

Patch Set 2 : For IOS #

Total comments: 8

Patch Set 3 : update base on comments, and rebase #

Total comments: 3

Patch Set 4 : remove unique_ptr and rebase #

Total comments: 14

Patch Set 5 : get processor on model thread and rebase #

Total comments: 6

Patch Set 6 : re-comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -31 lines) Patch
M components/browser_sync/profile_sync_service.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M components/browser_sync/profile_sync_service.cc View 1 2 3 4 5 4 chunks +12 lines, -7 lines 0 comments Download
M components/sync/core/shared_model_type_processor.h View 1 2 3 4 3 chunks +6 lines, -2 lines 0 comments Download
M components/sync/core/shared_model_type_processor.cc View 1 2 3 4 3 chunks +15 lines, -5 lines 0 comments Download
M components/sync/driver/data_type_controller.h View 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M components/sync/driver/directory_data_type_controller.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/driver/directory_data_type_controller.cc View 1 2 3 4 2 chunks +18 lines, -0 lines 0 comments Download
M components/sync/driver/fake_sync_service.h View 1 2 4 1 chunk +1 line, -1 line 0 comments Download
M components/sync/driver/fake_sync_service.cc View 1 2 4 1 chunk +1 line, -1 line 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/sync/driver/model_type_controller.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/driver/model_type_controller.cc View 1 2 3 4 5 2 chunks +53 lines, -8 lines 0 comments Download
M components/sync/driver/proxy_data_type_controller.h View 1 2 4 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/driver/proxy_data_type_controller.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M components/sync/driver/resources/about.js View 1 2 3 4 3 chunks +26 lines, -0 lines 0 comments Download
M components/sync/driver/sync_frontend.h View 1 2 4 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync/driver/sync_service.h View 1 2 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 77 (62 generated)
Gang Wu
PTAL https://codereview.chromium.org/2374913002/diff/80001/components/browser_sync/profile_sync_service.h File components/browser_sync/profile_sync_service.h (left): https://codereview.chromium.org/2374913002/diff/80001/components/browser_sync/profile_sync_service.h#oldcode324 components/browser_sync/profile_sync_service.h:324: base::Value* GetTypeStatusMap() const override; remove this is because ...
4 years, 2 months ago (2016-09-28 00:54:59 UTC) #18
pavely
What is the reason you function signatures passing counters from const reference to unique_ptr? https://codereview.chromium.org/2374913002/diff/80001/components/browser_sync/profile_sync_service.cc ...
4 years, 2 months ago (2016-09-30 00:01:52 UTC) #21
Gang Wu
Use unique_ptr instead of const reference, because get StatusCounters need to jump to model thread, ...
4 years, 2 months ago (2016-10-01 07:14:09 UTC) #32
pavely
On 2016/10/01 07:14:09, Gang Wu wrote: > Use unique_ptr instead of const reference, because get ...
4 years, 2 months ago (2016-10-03 03:10:29 UTC) #35
pavely
https://codereview.chromium.org/2374913002/diff/140001/components/sync/driver/directory_data_type_controller.cc File components/sync/driver/directory_data_type_controller.cc (right): https://codereview.chromium.org/2374913002/diff/140001/components/sync/driver/directory_data_type_controller.cc#newcode50 components/sync/driver/directory_data_type_controller.cc:50: base::ThreadTaskRunnerHandle::Get()->PostTask( On 2016/10/01 07:14:09, Gang Wu wrote: > do ...
4 years, 2 months ago (2016-10-03 03:10:55 UTC) #36
Gang Wu
unique_ptr removed https://codereview.chromium.org/2374913002/diff/140001/components/sync/driver/directory_data_type_controller.cc File components/sync/driver/directory_data_type_controller.cc (right): https://codereview.chromium.org/2374913002/diff/140001/components/sync/driver/directory_data_type_controller.cc#newcode50 components/sync/driver/directory_data_type_controller.cc:50: base::ThreadTaskRunnerHandle::Get()->PostTask( On 2016/10/03 03:10:55, pavely wrote: > ...
4 years, 2 months ago (2016-10-03 20:10:31 UTC) #52
pavely
https://codereview.chromium.org/2374913002/diff/220001/components/sync/core/shared_model_type_processor.cc File components/sync/core/shared_model_type_processor.cc (right): https://codereview.chromium.org/2374913002/diff/220001/components/sync/core/shared_model_type_processor.cc#newcode212 components/sync/core/shared_model_type_processor.cc:212: ++counters.num_entries_and_tombstones; Please move num_entries_and_tombstones calculation outside the loop and ...
4 years, 2 months ago (2016-10-03 21:40:14 UTC) #53
maxbogue
https://codereview.chromium.org/2374913002/diff/220001/components/browser_sync/profile_sync_service.cc File components/browser_sync/profile_sync_service.cc (right): https://codereview.chromium.org/2374913002/diff/220001/components/browser_sync/profile_sync_service.cc#newcode1896 components/browser_sync/profile_sync_service.cc:1896: base::Bind(&ProfileSyncService::OnDatatypeStatusCounterUpdated, If this Bind call were wrapped with syncer::BindToCurrentThread, ...
4 years, 2 months ago (2016-10-04 00:02:01 UTC) #55
Gang Wu
update to get processor on model thread, also use syncer::BindToCurrentThread to avoid pass task runner ...
4 years, 2 months ago (2016-10-06 00:20:23 UTC) #60
maxbogue
non-JS lgtm (didn't look at the JS) w/ a nit and some comment clarification suggestions. ...
4 years, 2 months ago (2016-10-06 17:16:32 UTC) #63
pavely
lgtm % Max's comments.
4 years, 2 months ago (2016-10-06 23:53:55 UTC) #65
Gang Wu
https://codereview.chromium.org/2374913002/diff/280001/components/browser_sync/profile_sync_service.cc File components/browser_sync/profile_sync_service.cc (right): https://codereview.chromium.org/2374913002/diff/280001/components/browser_sync/profile_sync_service.cc#newcode1898 components/browser_sync/profile_sync_service.cc:1898: // OnDatatypeStatusCounterUpdated that posts back to the UI thread. ...
4 years, 2 months ago (2016-10-07 03:59:43 UTC) #70
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/2374913002/300001
4 years, 2 months ago (2016-10-07 06:26:39 UTC) #73
commit-bot: I haz the power
Committed patchset #6 (id:300001)
4 years, 2 months ago (2016-10-07 06:32:30 UTC) #75
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 06:34:41 UTC) #77
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d26ef311a38ab8e88b4fa82a6a6753786a873e36
Cr-Commit-Position: refs/heads/master@{#423808}

Powered by Google App Engine
This is Rietveld 408576698