Index: chrome/browser/sync/profile_sync_service.cc |
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc |
index 5f428119fbf24d09b51683a0b796e1789c4f7093..91d3ba24a6dd47b206d2ab3f7ff735f3ade435b7 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -555,10 +555,10 @@ void ProfileSyncService::OnUnrecoverableError( |
void ProfileSyncService::OnBackendInitialized( |
const WeakHandle<JsBackend>& js_backend, bool success) { |
- if (HasSyncSetupCompleted()) { |
- UMA_HISTOGRAM_BOOLEAN("Sync.FirstBackendInitializeSuccess", success); |
+ if (!HasSyncSetupCompleted()) { |
+ UMA_HISTOGRAM_BOOLEAN("Sync.BackendInitializeFirstTimeSuccess", success); |
} else { |
- UMA_HISTOGRAM_BOOLEAN("Sync.RestoreBackendInitializeSuccess", success); |
+ UMA_HISTOGRAM_BOOLEAN("Sync.BackendInitializeRestoreSuccess", success); |
} |
if (!success) { |