| 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..a35a594cf49d29d8773955da37cccdf1f2dfd17d 100644
|
| --- a/chrome/browser/ui/webui/ntp/new_tab_ui.h
|
| +++ b/chrome/browser/ui/webui/ntp/new_tab_ui.h
|
| @@ -5,9 +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>
|
| -
|
| #include "base/macros.h"
|
| #include "base/strings/string16.h"
|
| #include "components/prefs/pref_change_registrar.h"
|
| @@ -72,20 +69,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);
|
| };
|
|
|
|
|