Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: chrome/browser/sync/glue/extension_data_type_controller.cc

Issue 9369013: Take extensions out of Profile into a profile-keyed service, ExtensionSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 2c3b7497a0df6dbf5c4a271cdf4ba16ddbe6f137..16cdf6a39a878610a6db513280675a27ab9f9144 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"
@@ -27,7 +29,7 @@ syncable::ModelType ExtensionDataTypeController::type() const {
}
bool ExtensionDataTypeController::StartModels() {
- profile_->InitExtensions(true);
+ ExtensionSystemFactory::GetForProfile(profile_)->Init(true);
Elliot Glaysher 2012/02/09 20:10:24 Ditto.
return true;
}

Powered by Google App Engine
This is Rietveld 408576698