Chromium Code Reviews| Index: chrome/browser/ui/webui/ntp/new_tab_ui.cc |
| diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.cc b/chrome/browser/ui/webui/ntp/new_tab_ui.cc |
| index 8671b41a1153a8739d3fd02ccb3a9ac55fe8f456..49ead488d3b72c3a7b7b4cfe18ee6482c8fc7b8a 100644 |
| --- a/chrome/browser/ui/webui/ntp/new_tab_ui.cc |
| +++ b/chrome/browser/ui/webui/ntp/new_tab_ui.cc |
| @@ -21,7 +21,6 @@ |
| #include "chrome/browser/ui/webui/ntp/most_visited_handler.h" |
| #include "chrome/browser/ui/webui/ntp/new_tab_page_handler.h" |
| #include "chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h" |
| -#include "chrome/browser/ui/webui/ntp/ntp_login_handler.h" |
| #include "chrome/browser/ui/webui/ntp/ntp_resource_cache.h" |
| #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
| #include "chrome/browser/ui/webui/ntp/ntp_user_data_logger.h" |
| @@ -107,9 +106,6 @@ NewTabUI::NewTabUI(content::WebUI* web_ui) |
| web_ui->AddMessageHandler(new AppLauncherHandler(service)); |
| } |
| - if (NTPLoginHandler::ShouldShow(profile)) |
| - web_ui->AddMessageHandler(new NTPLoginHandler()); |
|
Dan Beam
2015/05/20 02:44:04
not necessary on chrome://newtab any more :)
|
| - |
| #if defined(ENABLE_THEMES) |
| // The theme handler can require some CPU, so do it after hooking up the most |
| // visited handler. This allows the DB query for the new tab thumbs to happen |