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

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

Issue 10696107: sync: Track validity of about:sync fields (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update Created 8 years, 5 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 de9e00fa12e0b43b0b30b6072fd5c3d2d6db2df5..0bfb295f591ed0631a40311dc59f3dc38d003a72 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -288,7 +288,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