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

Unified Diff: Source/core/inspector/InspectorConsoleMessage.h

Issue 466753002: DevTools: Do not push to frontend messages from worker while it is alive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix test 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
« no previous file with comments | « Source/core/inspector/InspectorConsoleAgent.cpp ('k') | Source/core/inspector/InspectorConsoleMessage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorConsoleMessage.h
diff --git a/Source/core/inspector/InspectorConsoleMessage.h b/Source/core/inspector/InspectorConsoleMessage.h
index ee5f839dcdef741c02ace361b06f0113a67a4265..a8118f42478a3d743218c50df004444ed72afc09 100644
--- a/Source/core/inspector/InspectorConsoleMessage.h
+++ b/Source/core/inspector/InspectorConsoleMessage.h
@@ -46,6 +46,7 @@ class ScriptArguments;
class ScriptCallFrame;
class ScriptCallStack;
class ScriptValue;
+class WorkerGlobalScopeProxy;
class InspectorConsoleMessage {
WTF_MAKE_NONCOPYABLE(InspectorConsoleMessage); WTF_MAKE_FAST_ALLOCATED;
@@ -58,6 +59,8 @@ public:
void addToFrontend(InspectorFrontend::Console*, InjectedScriptManager*, bool generatePreview);
void setTimestamp(double timestamp) { m_timestamp = timestamp; }
+ void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerProxy = proxy; }
+ WorkerGlobalScopeProxy* workerGlobalScopeProxy() { return m_workerProxy; }
MessageType type() const { return m_type; }
@@ -80,6 +83,7 @@ private:
unsigned m_column;
String m_requestId;
double m_timestamp;
+ WorkerGlobalScopeProxy* m_workerProxy;
};
} // namespace blink
« no previous file with comments | « Source/core/inspector/InspectorConsoleAgent.cpp ('k') | Source/core/inspector/InspectorConsoleMessage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698