| Index: chrome/browser/ui/webui/history_ui.cc
|
| diff --git a/chrome/browser/ui/webui/history_ui.cc b/chrome/browser/ui/webui/history_ui.cc
|
| index 26b2b5ac0cf04c64e0700a9503ca94f9157e2c8b..ed2c2cd1551b6c7ccc7c0522450929a1b0befc13 100644
|
| --- a/chrome/browser/ui/webui/history_ui.cc
|
| +++ b/chrome/browser/ui/webui/history_ui.cc
|
| @@ -75,7 +75,7 @@
|
|
|
| #if !defined(OS_ANDROID) && !defined(OS_IOS)
|
| #include "chrome/browser/ui/webui/foreign_session_handler.h"
|
| -#include "chrome/browser/ui/webui/ntp/ntp_login_handler.h"
|
| +#include "chrome/browser/ui/webui/history_login_handler.h"
|
| #endif
|
|
|
| using bookmarks::BookmarkModel;
|
| @@ -1029,11 +1029,11 @@ HistoryUI::HistoryUI(content::WebUI* web_ui) : WebUIController(web_ui) {
|
| web_ui->AddMessageHandler(new BrowsingHistoryHandler());
|
| web_ui->AddMessageHandler(new MetricsHandler());
|
|
|
| -// On mobile we deal with foreign sessions differently.
|
| + // On mobile we deal with foreign sessions differently.
|
| #if !defined(OS_ANDROID) && !defined(OS_IOS)
|
| if (chrome::IsInstantExtendedAPIEnabled()) {
|
| web_ui->AddMessageHandler(new browser_sync::ForeignSessionHandler());
|
| - web_ui->AddMessageHandler(new NTPLoginHandler());
|
| + web_ui->AddMessageHandler(new HistoryLoginHandler());
|
| }
|
| #endif
|
|
|
| @@ -1042,6 +1042,8 @@ HistoryUI::HistoryUI(content::WebUI* web_ui) : WebUIController(web_ui) {
|
| content::WebUIDataSource::Add(profile, CreateHistoryUIHTMLSource(profile));
|
| }
|
|
|
| +HistoryUI::~HistoryUI() {}
|
| +
|
| // static
|
| base::RefCountedMemory* HistoryUI::GetFaviconResourceBytes(
|
| ui::ScaleFactor scale_factor) {
|
|
|