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

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

Issue 10196004: Changed ChromeURLDataManager to a ProfileKeyedService and made a Factory for it. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Made ChromeURLDataManager's destructor virtual Created 8 years, 8 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/extensions/extension_system.cc
diff --git a/chrome/browser/extensions/extension_system.cc b/chrome/browser/extensions/extension_system.cc
index 2026c6ca53bf07d3393d8c72e7dafaff886be057..d1754acf57ff2e854786977303c632b1c0450053 100644
--- a/chrome/browser/extensions/extension_system.cc
+++ b/chrome/browser/extensions/extension_system.cc
@@ -152,7 +152,7 @@ void ExtensionSystemImpl::Shared::Init(bool extensions_enabled) {
}
// Make the chrome://extension-icon/ resource available.
- profile_->GetChromeURLDataManager()->AddDataSource(
+ ChromeURLDataManager::AddDataSource(profile_,
new ExtensionIconSource(profile_));
// Initialize extension event routers. Note that on Chrome OS, this will
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698