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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « Source/core/frame/ConsoleTypes.h ('k') | Source/core/inspector/ConsoleMessage.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ConsoleMessage_h 5 #ifndef ConsoleMessage_h
6 #define ConsoleMessage_h 6 #define ConsoleMessage_h
7 7
8 #include "bindings/core/v8/ScriptState.h" 8 #include "bindings/core/v8/ScriptState.h"
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "core/frame/ConsoleTypes.h" 10 #include "core/frame/ConsoleTypes.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 ScriptState* scriptState() const; 44 ScriptState* scriptState() const;
45 void setScriptState(ScriptState*); 45 void setScriptState(ScriptState*);
46 PassRefPtrWillBeRawPtr<ScriptArguments> scriptArguments() const; 46 PassRefPtrWillBeRawPtr<ScriptArguments> scriptArguments() const;
47 void setScriptArguments(PassRefPtrWillBeRawPtr<ScriptArguments>); 47 void setScriptArguments(PassRefPtrWillBeRawPtr<ScriptArguments>);
48 unsigned long requestIdentifier() const; 48 unsigned long requestIdentifier() const;
49 void setRequestIdentifier(unsigned long); 49 void setRequestIdentifier(unsigned long);
50 double timestamp() const; 50 double timestamp() const;
51 void setTimestamp(double); 51 void setTimestamp(double);
52 WorkerGlobalScopeProxy* workerGlobalScopeProxy() { return m_workerProxy; } 52 WorkerGlobalScopeProxy* workerGlobalScopeProxy() { return m_workerProxy; }
53 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerProx y = proxy; } 53 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerProx y = proxy; }
54 unsigned assignMessageId();
55 unsigned messageId() const { return m_messageId; }
56 unsigned relatedMessageId() const { return m_relatedMessageId; }
57 void setRelatedMessageId(unsigned relatedMessageId) { m_relatedMessageId = r elatedMessageId; }
54 58
55 MessageSource source() const; 59 MessageSource source() const;
56 MessageLevel level() const; 60 MessageLevel level() const;
57 const String& message() const; 61 const String& message() const;
58 unsigned columnNumber() const; 62 unsigned columnNumber() const;
59 63
60 void frameWindowDiscarded(LocalDOMWindow*); 64 void frameWindowDiscarded(LocalDOMWindow*);
61 unsigned argumentCount(); 65 unsigned argumentCount();
62 66
63 void collectCallStack(); 67 void collectCallStack();
(...skipping 10 matching lines...) Expand all
74 int m_scriptId; 78 int m_scriptId;
75 String m_url; 79 String m_url;
76 unsigned m_lineNumber; 80 unsigned m_lineNumber;
77 unsigned m_columnNumber; 81 unsigned m_columnNumber;
78 RefPtrWillBeMember<ScriptCallStack> m_callStack; 82 RefPtrWillBeMember<ScriptCallStack> m_callStack;
79 OwnPtr<ScriptStateProtectingContext> m_scriptState; 83 OwnPtr<ScriptStateProtectingContext> m_scriptState;
80 RefPtrWillBeMember<ScriptArguments> m_scriptArguments; 84 RefPtrWillBeMember<ScriptArguments> m_scriptArguments;
81 unsigned long m_requestIdentifier; 85 unsigned long m_requestIdentifier;
82 double m_timestamp; 86 double m_timestamp;
83 WorkerGlobalScopeProxy* m_workerProxy; 87 WorkerGlobalScopeProxy* m_workerProxy;
88 unsigned m_messageId;
89 unsigned m_relatedMessageId;
84 }; 90 };
85 91
86 } // namespace blink 92 } // namespace blink
87 93
88 #endif // ConsoleMessage_h 94 #endif // ConsoleMessage_h
OLDNEW
« 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