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

Unified Diff: chrome/browser/ui/webui/chromeos/proxy_settings_ui.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: Added static ChromeURLDataManager::AddSource() 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/ui/webui/chromeos/proxy_settings_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc b/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc
index ed2b05971bea30530cf55806be7a93ec143ff8bd..cd286f0cda2d44bba58cf482ce89dbd766346f4a 100644
--- a/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc
@@ -86,7 +86,7 @@ ProxySettingsUI::ProxySettingsUI(content::WebUI* web_ui)
ProxySettingsHTMLSource* source =
new ProxySettingsHTMLSource(localized_strings);
Profile* profile = Profile::FromWebUI(web_ui);
- profile->GetChromeURLDataManager()->AddDataSource(source);
+ ChromeURLDataManager::AddDataSource(profile, source);
}
ProxySettingsUI::~ProxySettingsUI() {

Powered by Google App Engine
This is Rietveld 408576698