| OLD | NEW |
| 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 Loading... |
| 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; } | |
| 58 | 54 |
| 59 MessageSource source() const; | 55 MessageSource source() const; |
| 60 MessageLevel level() const; | 56 MessageLevel level() const; |
| 61 const String& message() const; | 57 const String& message() const; |
| 62 unsigned columnNumber() const; | 58 unsigned columnNumber() const; |
| 63 | 59 |
| 64 void frameWindowDiscarded(LocalDOMWindow*); | 60 void frameWindowDiscarded(LocalDOMWindow*); |
| 65 unsigned argumentCount(); | 61 unsigned argumentCount(); |
| 66 | 62 |
| 67 void collectCallStack(); | 63 void collectCallStack(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 78 int m_scriptId; | 74 int m_scriptId; |
| 79 String m_url; | 75 String m_url; |
| 80 unsigned m_lineNumber; | 76 unsigned m_lineNumber; |
| 81 unsigned m_columnNumber; | 77 unsigned m_columnNumber; |
| 82 RefPtrWillBeMember<ScriptCallStack> m_callStack; | 78 RefPtrWillBeMember<ScriptCallStack> m_callStack; |
| 83 OwnPtr<ScriptStateProtectingContext> m_scriptState; | 79 OwnPtr<ScriptStateProtectingContext> m_scriptState; |
| 84 RefPtrWillBeMember<ScriptArguments> m_scriptArguments; | 80 RefPtrWillBeMember<ScriptArguments> m_scriptArguments; |
| 85 unsigned long m_requestIdentifier; | 81 unsigned long m_requestIdentifier; |
| 86 double m_timestamp; | 82 double m_timestamp; |
| 87 WorkerGlobalScopeProxy* m_workerProxy; | 83 WorkerGlobalScopeProxy* m_workerProxy; |
| 88 unsigned m_messageId; | |
| 89 unsigned m_relatedMessageId; | |
| 90 }; | 84 }; |
| 91 | 85 |
| 92 } // namespace blink | 86 } // namespace blink |
| 93 | 87 |
| 94 #endif // ConsoleMessage_h | 88 #endif // ConsoleMessage_h |
| OLD | NEW |