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

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: Another rebase 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
« no previous file with comments | « chrome/browser/sync/about_sync_util_unittest.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 08a4397f9e51d1f905d44b3dc92b165be0a66673..ef5eff0c9382fa1936b18ef0a068a38efb8e531f 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -290,7 +290,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;
« no previous file with comments | « chrome/browser/sync/about_sync_util_unittest.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698