Chromium Code Reviews| Index: content/public/browser/render_frame_host.h |
| diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h |
| index 86ac9d5296b3b959a675d60c311a313c9a3dab02..f2d00e9ee0b1e9ef2286b8c38b947c7fd54f2e72 100644 |
| --- a/content/public/browser/render_frame_host.h |
| +++ b/content/public/browser/render_frame_host.h |
| @@ -122,6 +122,10 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, |
| virtual void AddMessageToConsole(ConsoleMessageLevel level, |
| const std::string& message) = 0; |
| + // Adds a security related |message| to this frame's console. |
| + virtual void AddSecurityMessageToConsole(ConsoleMessageLevel level, |
|
nasko
2016/04/14 14:14:44
Why add a public method if it isn't called from ou
carlosk
2016/04/14 15:28:03
Done.
|
| + const std::string& message) = 0; |
| + |
| // Runs some JavaScript in this frame's context. If a callback is provided, it |
| // will be used to return the result, when the result is available. |
| // This API can only be called on chrome:// or chrome-devtools:// URLs. |