| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 V8StackTrace_h | 5 #ifndef V8StackTrace_h |
| 6 #define V8StackTrace_h | 6 #define V8StackTrace_h |
| 7 | 7 |
| 8 #include "platform/inspector_protocol/TypeBuilder.h" | 8 #include "platform/inspector_protocol/TypeBuilder.h" |
| 9 #include "wtf/Forward.h" | 9 #include "wtf/Forward.h" |
| 10 #include "wtf/PassOwnPtr.h" | 10 #include "wtf/PassOwnPtr.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 static const size_t maxCallStackSizeToCapture = 200; | 28 static const size_t maxCallStackSizeToCapture = 200; |
| 29 | 29 |
| 30 virtual bool isEmpty() const = 0; | 30 virtual bool isEmpty() const = 0; |
| 31 virtual String topSourceURL() const = 0; | 31 virtual String topSourceURL() const = 0; |
| 32 virtual int topLineNumber() const = 0; | 32 virtual int topLineNumber() const = 0; |
| 33 virtual int topColumnNumber() const = 0; | 33 virtual int topColumnNumber() const = 0; |
| 34 virtual String topScriptId() const = 0; | 34 virtual String topScriptId() const = 0; |
| 35 virtual String topFunctionName() const = 0; | 35 virtual String topFunctionName() const = 0; |
| 36 | 36 |
| 37 virtual ~V8StackTrace() { } | 37 virtual ~V8StackTrace() { } |
| 38 virtual PassRefPtr<protocol::TypeBuilder::Runtime::StackTrace> buildInspecto
rObject() const = 0; | 38 virtual PassOwnPtr<protocol::Runtime::StackTrace> buildInspectorObject() con
st = 0; |
| 39 virtual String toString() const = 0; | 39 virtual String toString() const = 0; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace blink | 42 } // namespace blink |
| 43 | 43 |
| 44 #endif // V8StackTrace_h | 44 #endif // V8StackTrace_h |
| OLD | NEW |