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

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

Issue 9583036: Revert 124817 - 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_setting_data_type_controller.cc
===================================================================
--- chrome/browser/sync/glue/extension_setting_data_type_controller.cc (revision 124830)
+++ chrome/browser/sync/glue/extension_setting_data_type_controller.cc (working copy)
@@ -6,9 +6,6 @@
#include "base/bind.h"
#include "base/metrics/histogram.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/profiles/profile.h"
#include "chrome/browser/sync/api/syncable_service.h"
#include "chrome/browser/sync/glue/generic_change_processor.h"
@@ -55,7 +52,7 @@
bool ExtensionSettingDataTypeController::StartModels() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- ExtensionSystemFactory::GetForProfile(profile_)->Init(true);
+ profile_->InitExtensions(true);
return true;
}
« no previous file with comments | « chrome/browser/sync/glue/extension_data_type_controller.cc ('k') | chrome/browser/sync/glue/theme_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698