Chromium Code Reviews| Index: extensions/renderer/web_ui_injection_host.cc |
| diff --git a/extensions/renderer/web_ui_injection_host.cc b/extensions/renderer/web_ui_injection_host.cc |
| index 334358a03c1e027c29682401cb13fb4a9612750c..07d91111feeb6e9e40065dbed148635f124671a6 100644 |
| --- a/extensions/renderer/web_ui_injection_host.cc |
| +++ b/extensions/renderer/web_ui_injection_host.cc |
| @@ -12,6 +12,11 @@ WebUIInjectionHost::WebUIInjectionHost(const HostID& host_id) |
| WebUIInjectionHost::~WebUIInjectionHost() { |
| } |
| +// static |
| +scoped_ptr<const InjectionHost> WebUIInjectionHost::Create( |
| + const HostID& host_id) { |
| + return scoped_ptr<const InjectionHost>(new WebUIInjectionHost(host_id)); |
|
Devlin
2015/02/25 17:22:36
This create function doesn't really abstract out a
Xi Han
2015/02/26 15:13:45
That is ok, remove it for now.
|
| +} |
| std::string WebUIInjectionHost::GetContentSecurityPolicy() const { |
| return std::string(); |