| Index: chrome/browser/sync/glue/extension_data_type_controller.cc
|
| diff --git a/chrome/browser/sync/glue/extension_data_type_controller.cc b/chrome/browser/sync/glue/extension_data_type_controller.cc
|
| index 1f976899975aff747cf21f3846f8472c33ff4cb7..32f029a093350b782dc75fb7b2d5a4660a68b7ec 100644
|
| --- a/chrome/browser/sync/glue/extension_data_type_controller.cc
|
| +++ b/chrome/browser/sync/glue/extension_data_type_controller.cc
|
| @@ -5,6 +5,8 @@
|
| #include "chrome/browser/sync/glue/extension_data_type_controller.h"
|
|
|
| #include "base/metrics/histogram.h"
|
| +#include "chrome/browser/extensions/extension_system.h"
|
| +#include "chrome/browser/extensions/extension_system_factory.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/sync/profile_sync_components_factory.h"
|
|
|
| @@ -31,7 +33,7 @@ syncable::ModelType ExtensionDataTypeController::type() const {
|
| }
|
|
|
| bool ExtensionDataTypeController::StartModels() {
|
| - profile_->InitExtensions(true);
|
| + ExtensionSystemFactory::GetForProfile(profile_)->Init(true);
|
| return true;
|
| }
|
|
|
|
|