Index: chrome/browser/sync/profile_sync_service.h |
=================================================================== |
--- chrome/browser/sync/profile_sync_service.h (revision 107252) |
+++ chrome/browser/sync/profile_sync_service.h (working copy) |
@@ -105,7 +105,11 @@ |
class ProfileSyncService : public browser_sync::SyncFrontend, |
public browser_sync::SyncPrefObserver, |
public browser_sync::UnrecoverableErrorHandler, |
- public NotificationObserver { |
+ public NotificationObserver, |
+ // TODO(lipalani): crbug.com/100829. Instead of |
+ // doing this vend weak pointers from a factory. |
+ public base::SupportsWeakPtr<ProfileSyncService> { |
+ |
public: |
typedef ProfileSyncServiceObserver Observer; |
typedef browser_sync::SyncBackendHost::Status Status; |