diff options
author | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-04 18:54:41 +0000 |
---|---|---|
committer | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-04 18:54:41 +0000 |
commit | 942687d2202349391d90730956df4b084c9eeb58 (patch) | |
tree | 9180fd632fe522287bf6e54f4f607060f895a2ce /chrome/browser/sync | |
parent | 7e54174986fee6509bee8bbd366678fabeb5a38c (diff) | |
download | chromium_src-942687d2202349391d90730956df4b084c9eeb58.zip chromium_src-942687d2202349391d90730956df4b084c9eeb58.tar.gz chromium_src-942687d2202349391d90730956df4b084c9eeb58.tar.bz2 |
Add chrome://sync counter for total commits
This is a strictly increasing counter that tracks the total number of
successful commits during the life of this sync instance.
BUG=128409
TEST=Open chrome://sync, observe "Successful Commits" counter.
Review URL: https://chromiumcodereview.appspot.com/10441117
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r-- | chrome/browser/sync/sync_ui_util.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/sync/sync_ui_util.cc b/chrome/browser/sync/sync_ui_util.cc index 3b2d373..4242556 100644 --- a/chrome/browser/sync/sync_ui_util.cc +++ b/chrome/browser/sync/sync_ui_util.cc @@ -661,6 +661,10 @@ void ConstructAboutInformation(ProfileSyncService* service, full_status.reflected_updates_received); sync_ui_util::AddIntSyncDetail( + counters, "Successful Commits", + full_status.num_commits_total); + + sync_ui_util::AddIntSyncDetail( counters, "Conflict Resolved: Client Wins", full_status.num_local_overwrites_total); sync_ui_util::AddIntSyncDetail( |