| Index: chrome/browser/sync/test/integration/sync_app_helper.cc
 | 
| diff --git a/chrome/browser/sync/test/integration/sync_app_helper.cc b/chrome/browser/sync/test/integration/sync_app_helper.cc
 | 
| index bbe2f501cf24705d1f02b9a94fe90a299f870db3..aa637182de26fffa1880645331578b8fdf24782d 100644
 | 
| --- a/chrome/browser/sync/test/integration/sync_app_helper.cc
 | 
| +++ b/chrome/browser/sync/test/integration/sync_app_helper.cc
 | 
| @@ -5,6 +5,8 @@
 | 
|  #include "chrome/browser/sync/test/integration/sync_app_helper.h"
 | 
|  
 | 
|  #include "chrome/browser/extensions/extension_service.h"
 | 
| +#include "chrome/browser/extensions/extension_system.h"
 | 
| +#include "chrome/browser/extensions/extension_system_factory.h"
 | 
|  #include "chrome/browser/extensions/extension_sorting.h"
 | 
|  #include "chrome/browser/profiles/profile.h"
 | 
|  #include "chrome/browser/sync/test/integration/extensions_helper.h"
 | 
| @@ -92,9 +94,9 @@ void SyncAppHelper::SetupIfNecessary(SyncTest* test) {
 | 
|      return;
 | 
|  
 | 
|    for (int i = 0; i < test->num_clients(); ++i) {
 | 
| -    test->GetProfile(i)->InitExtensions(true);
 | 
| +    ExtensionSystemFactory::GetForProfile(test->GetProfile(i))->Init(true);
 | 
|    }
 | 
| -  test->verifier()->InitExtensions(true);
 | 
| +  ExtensionSystemFactory::GetForProfile(test->verifier())->Init(true);
 | 
|  
 | 
|    setup_completed_ = true;
 | 
|  }
 | 
| 
 |