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

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

Issue 9323015: [Sync] - In about:sync page display if the first sync after restart has taken place or not. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review. Created 8 years, 10 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
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 111c72b683a5722fa3173b7f64a162d1160012aa..7379561ba0df226b3334b17ca094bc55838a83d2 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -1037,8 +1037,8 @@ bool ProfileSyncService::SetupInProgress() const {
std::string ProfileSyncService::BuildSyncStatusSummaryText(
const sync_api::SyncManager::Status::Summary& summary) {
- const char* strings[] = {"INVALID", "OFFLINE", "OFFLINE_UNSYNCED", "SYNCING",
- "READY", "OFFLINE_UNUSABLE"};
+ const char* strings[] = {"INVALID", "READY", "OFFLINE", "OFFLINE_UNSYNCED",
rlarocque 2012/02/08 00:07:37 This is much more clever than it ought to be. No
+ "SYNCING", "READY", "OFFLINE_UNUSABLE"};
COMPILE_ASSERT(arraysize(strings) ==
sync_api::SyncManager::Status::SUMMARY_STATUS_COUNT,
enum_indexed_array);

Powered by Google App Engine
This is Rietveld 408576698