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

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

Issue 9977021: Add ExtensionSytem::Get(Profile*) as a wrapper around (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 303546b639536e97849be2e8c0ff15d323a6af83..9adb5b6dbb491242947e6758a57654985ebb50e5 100644
--- a/chrome/browser/sync/glue/extension_data_type_controller.cc
+++ b/chrome/browser/sync/glue/extension_data_type_controller.cc
@@ -6,7 +6,6 @@
#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"
@@ -29,7 +28,7 @@ ExtensionDataTypeController::~ExtensionDataTypeController() {
}
bool ExtensionDataTypeController::StartModels() {
- ExtensionSystemFactory::GetForProfile(profile_)->Init(true);
+ ExtensionSystem::Get(profile_)->Init(true);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698