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

Unified Diff: chrome/browser/sync/about_sync_util.cc

Issue 12288010: sync: preliminary support for deferred SyncBackendHost initialization (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dchecks Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/about_sync_util.cc
diff --git a/chrome/browser/sync/about_sync_util.cc b/chrome/browser/sync/about_sync_util.cc
index 585a29696e35daf53cc2d15e6edf3d75c7bc106b..f2aca43b2b3ca233b23dc02c742d41c3efd64e71 100644
--- a/chrome/browser/sync/about_sync_util.cc
+++ b/chrome/browser/sync/about_sync_util.cc
@@ -187,8 +187,8 @@ scoped_ptr<DictionaryValue> ConstructAboutInformation(
StringSyncStat last_synced(section_local, "Last Synced");
BoolSyncStat is_setup_complete(section_local,
"Sync First-Time Setup Complete");
- BoolSyncStat is_backend_initialized(section_local,
- "Sync Backend Initialized");
+ StringSyncStat backend_initialization(section_local,
+ "Sync Backend Initialization");
BoolSyncStat is_syncing(section_local, "Syncing");
ListValue* section_network = AddSection(stats_list, "Network");
@@ -297,7 +297,8 @@ scoped_ptr<DictionaryValue> ConstructAboutInformation(
last_synced.SetValue(service->GetLastSyncedTimeString());
is_setup_complete.SetValue(service->HasSyncSetupCompleted());
- is_backend_initialized.SetValue(sync_initialized);
+ backend_initialization.SetValue(
+ service->GetBackendInitializationStateString());
if (is_status_valid) {
is_syncing.SetValue(full_status.syncing);
retry_time.SetValue(GetTimeStr(full_status.retry_time,
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698