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

Unified Diff: Source/core/workers/WorkerObjectProxy.h

Issue 419203004: DevTools: wrapping arguments addConsoleMessage in ConsoleMessage (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@wrap-not-all-console-args
Patch Set: Created 6 years, 4 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: Source/core/workers/WorkerObjectProxy.h
diff --git a/Source/core/workers/WorkerObjectProxy.h b/Source/core/workers/WorkerObjectProxy.h
index a075a360cf0bf72f91822de38b43c7634be83d12..4c2319e3ec3a62915cd820de91b3aae9a899cb06 100644
--- a/Source/core/workers/WorkerObjectProxy.h
+++ b/Source/core/workers/WorkerObjectProxy.h
@@ -32,6 +32,7 @@
#define WorkerObjectProxy_h
#include "core/dom/MessagePort.h"
+#include "core/inspector/ConsoleMessage.h"
vsevik 2014/08/08 13:06:29 Forward class declaration should be enough here an
kozyatinskiy1 2014/08/08 14:58:09 Done.
#include "core/workers/WorkerReportingProxy.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
@@ -60,7 +61,7 @@ public:
// WorkerReportingProxy overrides.
virtual void reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) OVERRIDE;
- virtual void reportConsoleMessage(MessageSource, MessageLevel, const String& message, int lineNumber, const String& sourceURL) OVERRIDE;
+ virtual void reportConsoleMessage(PassRefPtr<ConsoleMessage>) OVERRIDE;
virtual void postMessageToPageInspector(const String&) OVERRIDE;
virtual void updateInspectorStateCookie(const String&) OVERRIDE;
virtual void workerGlobalScopeStarted(WorkerGlobalScope*) OVERRIDE { }

Powered by Google App Engine
This is Rietveld 408576698