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

Unified Diff: chrome/browser/extensions/extension_service.cc

Issue 8477005: Add policies to specify an enterprise web store. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Finally. Created 9 years, 1 month 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/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index 3f77711f17aa97c251d970882c1fcb24e9bfa3ab..97d23e7bf03231a9f051d651b5550977be61003d 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -410,7 +410,10 @@ ExtensionService::ExtensionService(Profile* profile,
update_frequency));
}
- component_loader_.reset(new extensions::ComponentLoader(this));
+ component_loader_.reset(
+ new extensions::ComponentLoader(this,
+ profile->GetPrefs(),
+ g_browser_process->local_state()));
app_notification_manager_->Init();
@@ -1134,6 +1137,10 @@ ExtensionContentSettingsStore*
return extension_prefs()->content_settings_store();
}
+bool ExtensionService::is_ready() {
+ return ready_;
+}
+
ExtensionUpdater* ExtensionService::updater() {
return updater_.get();
}

Powered by Google App Engine
This is Rietveld 408576698