summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/history_ui.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-10 22:33:23 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-10 22:33:23 +0000
commit0f42477a45fb4fb6714a9c872f9ed37639c62852 (patch)
tree5c140d84db0fde643c88449a34b26ac4c5539027 /chrome/browser/dom_ui/history_ui.cc
parent133bf5be612e082d10a96e995c61827613a0d3d3 (diff)
downloadchromium_src-0f42477a45fb4fb6714a9c872f9ed37639c62852.zip
chromium_src-0f42477a45fb4fb6714a9c872f9ed37639c62852.tar.gz
chromium_src-0f42477a45fb4fb6714a9c872f9ed37639c62852.tar.bz2
WebUI: Get rid of more referecens to DOMUI. Part 2.
BUG= 59945 TEST=trybots Review URL: http://codereview.chromium.org/6469021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74512 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/history_ui.cc')
-rw-r--r--chrome/browser/dom_ui/history_ui.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/dom_ui/history_ui.cc b/chrome/browser/dom_ui/history_ui.cc
index 80be7d3..8e5e59e 100644
--- a/chrome/browser/dom_ui/history_ui.cc
+++ b/chrome/browser/dom_ui/history_ui.cc
@@ -127,16 +127,16 @@ BrowsingHistoryHandler::~BrowsingHistoryHandler() {
cancelable_delete_consumer_.CancelAllRequests();
}
-WebUIMessageHandler* BrowsingHistoryHandler::Attach(DOMUI* dom_ui) {
+WebUIMessageHandler* BrowsingHistoryHandler::Attach(WebUI* web_ui) {
// Create our favicon data source.
- Profile* profile = dom_ui->GetProfile();
+ Profile* profile = web_ui->GetProfile();
profile->GetChromeURLDataManager()->AddDataSource(
new WebUIFavIconSource(profile));
// Get notifications when history is cleared.
registrar_.Add(this, NotificationType::HISTORY_URLS_DELETED,
Source<Profile>(profile->GetOriginalProfile()));
- return WebUIMessageHandler::Attach(dom_ui);
+ return WebUIMessageHandler::Attach(web_ui);
}
void BrowsingHistoryHandler::RegisterMessages() {
@@ -379,7 +379,7 @@ void BrowsingHistoryHandler::Observe(NotificationType type,
//
////////////////////////////////////////////////////////////////////////////////
-HistoryUI::HistoryUI(TabContents* contents) : DOMUI(contents) {
+HistoryUI::HistoryUI(TabContents* contents) : WebUI(contents) {
AddMessageHandler((new BrowsingHistoryHandler())->Attach(this));
HistoryUIHTMLSource* html_source = new HistoryUIHTMLSource();