| Index: components/browser_sync/profile_sync_service.h
|
| diff --git a/components/browser_sync/profile_sync_service.h b/components/browser_sync/profile_sync_service.h
|
| index aea88e76a7f8975be38b2266e731022c813cf79d..7dfd9dee7ac284104dd9f6d1f4cb9c0ca945fed4 100644
|
| --- a/components/browser_sync/profile_sync_service.h
|
| +++ b/components/browser_sync/profile_sync_service.h
|
| @@ -921,11 +921,10 @@ class ProfileSyncService : public syncer::SyncService,
|
| // and association information.
|
| syncer::WeakHandle<syncer::DataTypeDebugInfoListener> debug_info_listener_;
|
|
|
| - // A thread where all the sync operations happen.
|
| - // OWNERSHIP Notes:
|
| - // * Created when backend starts for the first time.
|
| - // * If sync is disabled, PSS claims ownership from backend.
|
| - // * If sync is reenabled, PSS passes ownership to new backend.
|
| + // The thread where all the sync operations happen. This thread is kept alive
|
| + // until browser shutdown and reused if sync is turned off and on again. It is
|
| + // joined during the shutdown process, but there is an abort mechanism in
|
| + // place to prevent slow HTTP requests from blocking browser shutdown.
|
| std::unique_ptr<base::Thread> sync_thread_;
|
|
|
| // ProfileSyncService uses this service to get access tokens.
|
|
|