Chromium Code Reviews| Index: chrome/browser/ui/webui/ntp/new_tab_ui.h |
| diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.h b/chrome/browser/ui/webui/ntp/new_tab_ui.h |
| index 1af06edfd724f82bbdbe57d47414d7c70c093528..e2be67e72200fd19dc5886206555eb4fdfb96227 100644 |
| --- a/chrome/browser/ui/webui/ntp/new_tab_ui.h |
| +++ b/chrome/browser/ui/webui/ntp/new_tab_ui.h |
| @@ -5,7 +5,6 @@ |
| #ifndef CHROME_BROWSER_UI_WEBUI_NTP_NEW_TAB_UI_H_ |
| #define CHROME_BROWSER_UI_WEBUI_NTP_NEW_TAB_UI_H_ |
| -#include <map> |
| #include <string> |
|
Dan Beam
2017/05/11 17:37:40
one might argue you could remove this as well...
Marc Treib
2017/05/12 08:38:39
Because it's only mentioned as part of overridden
|
| #include "base/macros.h" |
| @@ -72,20 +71,10 @@ class NewTabUI : public content::WebUIController { |
| std::string GetContentSecurityPolicyImgSrc() const override; |
| std::string GetContentSecurityPolicyChildSrc() const override; |
| - // Adds |resource| to the source. |resource_id| is resource id or 0, |
| - // which means return empty data set. |mime_type| is mime type of the |
| - // resource. |
| - void AddResource(const char* resource, |
| - const char* mime_type, |
| - int resource_id); |
| - |
| private: |
| // Pointer back to the original profile. |
| Profile* profile_; |
| - // Maps resource files to mime types an resource ids. |
| - std::map<std::string, std::pair<std::string, int> > resource_map_; |
| - |
| DISALLOW_COPY_AND_ASSIGN(NewTabHTMLSource); |
| }; |