Unswap sync backend initialize histograms

This commit also renames the histograms so we can obsolete the old names
and ignore all the stats gathered while the labels were swapped.

BUG=105777
TEST=

Review URL: http://codereview.chromium.org/8735007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112257 0039d316-1c4b-4281-b951-d872f2087c98
parent 9edd30b1
...@@ -555,10 +555,10 @@ void ProfileSyncService::OnUnrecoverableError( ...@@ -555,10 +555,10 @@ void ProfileSyncService::OnUnrecoverableError(
void ProfileSyncService::OnBackendInitialized( void ProfileSyncService::OnBackendInitialized(
const WeakHandle<JsBackend>& js_backend, bool success) { const WeakHandle<JsBackend>& js_backend, bool success) {
if (HasSyncSetupCompleted()) { if (!HasSyncSetupCompleted()) {
UMA_HISTOGRAM_BOOLEAN("Sync.FirstBackendInitializeSuccess", success); UMA_HISTOGRAM_BOOLEAN("Sync.BackendInitializeFirstTimeSuccess", success);
} else { } else {
UMA_HISTOGRAM_BOOLEAN("Sync.RestoreBackendInitializeSuccess", success); UMA_HISTOGRAM_BOOLEAN("Sync.BackendInitializeRestoreSuccess", success);
} }
if (!success) { if (!success) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment