Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: content/public/browser/render_frame_host.h

Issue 1890513004: Remove dependency on the DevTools agent for console logs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698