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

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

Issue 10694013: Shade uninitialized about:sync fields (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix one more test error Created 8 years, 6 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.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index 303d4ebe8ce8bf73ad25b6babf0e1b30c316891c..326c9e375c384405e566b53093951bea42b5f177 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -289,7 +289,12 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
// Get various information for displaying in the user interface.
std::string QuerySyncStatusSummary();
- virtual browser_sync::SyncBackendHost::Status QueryDetailedSyncStatus();
+
+ // Initializes a struct of status indicators with data from the backend.
+ // Returns false if the backend was not available for querying; in that case
+ // the struct will be filled with default data.
+ virtual bool QueryDetailedSyncStatus(
+ browser_sync::SyncBackendHost::Status* result);
virtual const GoogleServiceAuthError& GetAuthError() const;

Powered by Google App Engine
This is Rietveld 408576698