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 4a958a15f2d5ede0ab699160277800d240b7d976..a278295a065e89f14d0d90e7339e9bee0497b58f 100644 |
--- a/chrome/browser/sync/profile_sync_service.h |
+++ b/chrome/browser/sync/profile_sync_service.h |
@@ -40,6 +40,7 @@ class NotificationSource; |
class Profile; |
class ProfileSyncFactory; |
class SigninManager; |
+class SyncGlobalError; |
struct ChromeCookieDetails; |
namespace browser_sync { |
@@ -485,6 +486,8 @@ class ProfileSyncService : public browser_sync::SyncFrontend, |
// the user about them any more. |
void AcknowledgeSyncedTypes(); |
+ SyncGlobalError* sync_global_error() { return sync_global_error_.get(); } |
+ |
protected: |
// Used by test classes that derive from ProfileSyncService. |
virtual browser_sync::SyncBackendHost* GetBackendForTest(); |
@@ -671,6 +674,9 @@ class ProfileSyncService : public browser_sync::SyncFrontend, |
// an action set on it. |
browser_sync::SyncProtocolError last_actionable_error_; |
+ // This is used to show sync errors in the wrench menu. |
+ scoped_ptr<SyncGlobalError> sync_global_error_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
}; |