Chromium Code Reviews| Index: chrome/browser/supervised_user/supervised_user_service.cc |
| diff --git a/chrome/browser/supervised_user/supervised_user_service.cc b/chrome/browser/supervised_user/supervised_user_service.cc |
| index 324f525d62632145ea2ce299f1691c02c2797820..befacfaa44e0158e8b753c04c347856b7387a1a8 100644 |
| --- a/chrome/browser/supervised_user/supervised_user_service.cc |
| +++ b/chrome/browser/supervised_user/supervised_user_service.cc |
| @@ -1257,7 +1257,7 @@ syncer::ModelTypeSet SupervisedUserService::GetPreferredDataTypes() const { |
| } |
| #if !defined(OS_ANDROID) |
| -void SupervisedUserService::OnStateChanged() { |
| +void SupervisedUserService::OnStateChanged(syncer::SyncService* sync) { |
| browser_sync::ProfileSyncService* service = |
|
skym
2017/01/26 23:43:23
This variable can be replaced by |sync|.
Steven Holte
2017/01/27 02:27:19
Done.
|
| ProfileSyncServiceFactory::GetForProfile(profile_); |
| if (waiting_for_sync_initialization_ && service->IsEngineInitialized()) { |