| 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 885e56dcfd2ff0ff059f028673373a7443745633..a92872f1b45c0c0c0e4a054d0474d08f038148df 100644
|
| --- a/chrome/browser/sync/profile_sync_service.h
|
| +++ b/chrome/browser/sync/profile_sync_service.h
|
| @@ -19,6 +19,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/observer_list.h"
|
| #include "base/strings/string16.h"
|
| +#include "base/threading/thread_checker.h"
|
| #include "base/time/time.h"
|
| #include "base/timer/timer.h"
|
| #include "chrome/browser/sync/glue/sync_backend_host.h"
|
| @@ -984,6 +985,10 @@ class ProfileSyncService : public sync_driver::SyncService,
|
|
|
| content::NotificationRegistrar registrar_;
|
|
|
| + // Used to ensure that certain operations are performed on the thread that
|
| + // this object was created on.
|
| + base::ThreadChecker thread_checker_;
|
| +
|
| base::WeakPtrFactory<ProfileSyncService> weak_factory_;
|
|
|
| // We don't use |weak_factory_| for the StartupController because the weak
|
|
|