Index: chrome/browser/renderer_host/render_view_host.h |
=================================================================== |
--- chrome/browser/renderer_host/render_view_host.h (revision 13158) |
+++ chrome/browser/renderer_host/render_view_host.h (working copy) |
@@ -17,6 +17,7 @@ |
#ifdef CHROME_PERSONALIZATION |
#include "chrome/personalization/personalization.h" |
#endif |
+#include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h" |
#include "webkit/glue/autofill_form.h" |
#include "webkit/glue/password_form_dom_manager.h" |
#include "webkit/glue/window_open_disposition.h" |
@@ -49,10 +50,6 @@ |
struct WebApplicationInfo; |
} |
-namespace WebKit { |
-struct WebConsoleMessage; |
-} |
- |
// |
// RenderViewHost |
// |
@@ -238,8 +235,9 @@ |
const std::string& css); |
// Logs a message to the console of a frame in the page. |
- void AddMessageToConsole(const std::wstring& frame_xpath, |
- const WebKit::WebConsoleMessage&); |
+ void AddMessageToConsole(const string16& frame_xpath, |
+ const string16& message, |
+ const WebKit::WebConsoleMessage::Level&); |
// Send command to the debugger |
void DebugCommand(const std::wstring& cmd); |