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/inspector/ConsoleMessage.h

Issue 1095943002: DevTools: [console] Logged promise rejections do not change state once handled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: for landing Created 5 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
« no previous file with comments | « Source/core/frame/ConsoleTypes.h ('k') | Source/core/inspector/ConsoleMessage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/ConsoleMessage.h
diff --git a/Source/core/inspector/ConsoleMessage.h b/Source/core/inspector/ConsoleMessage.h
index f612471f3ce6d55fbcae988e3b6834f7cb4f641c..383767592a3c0798ab47b76fd07141e55d8d9ee4 100644
--- a/Source/core/inspector/ConsoleMessage.h
+++ b/Source/core/inspector/ConsoleMessage.h
@@ -51,6 +51,10 @@ public:
void setTimestamp(double);
WorkerGlobalScopeProxy* workerGlobalScopeProxy() { return m_workerProxy; }
void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerProxy = proxy; }
+ unsigned assignMessageId();
+ unsigned messageId() const { return m_messageId; }
+ unsigned relatedMessageId() const { return m_relatedMessageId; }
+ void setRelatedMessageId(unsigned relatedMessageId) { m_relatedMessageId = relatedMessageId; }
MessageSource source() const;
MessageLevel level() const;
@@ -81,6 +85,8 @@ private:
unsigned long m_requestIdentifier;
double m_timestamp;
WorkerGlobalScopeProxy* m_workerProxy;
+ unsigned m_messageId;
+ unsigned m_relatedMessageId;
};
} // namespace blink
« no previous file with comments | « Source/core/frame/ConsoleTypes.h ('k') | Source/core/inspector/ConsoleMessage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698