| 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 SourceLocation_h | 5 #ifndef SourceLocation_h |
| 6 #define SourceLocation_h | 6 #define SourceLocation_h |
| 7 | 7 |
| 8 #include <v8-inspector-protocol.h> |
| 9 #include <memory> |
| 8 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
| 9 #include "platform/CrossThreadCopier.h" | 11 #include "platform/CrossThreadCopier.h" |
| 10 #include "wtf/Forward.h" | 12 #include "wtf/Forward.h" |
| 11 #include "wtf/text/WTFString.h" | 13 #include "wtf/text/WTFString.h" |
| 12 #include <memory> | |
| 13 #include <v8-inspector-protocol.h> | |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class ExecutionContext; | 17 class ExecutionContext; |
| 18 class TracedValue; | 18 class TracedValue; |
| 19 | 19 |
| 20 class CORE_EXPORT SourceLocation { | 20 class CORE_EXPORT SourceLocation { |
| 21 public: | 21 public: |
| 22 // Zero lineNumber and columnNumber mean unknown. Captures current stack | 22 // Zero lineNumber and columnNumber mean unknown. Captures current stack |
| 23 // trace. | 23 // trace. |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 String m_url; | 83 String m_url; |
| 84 unsigned m_lineNumber; | 84 unsigned m_lineNumber; |
| 85 unsigned m_columnNumber; | 85 unsigned m_columnNumber; |
| 86 std::unique_ptr<v8_inspector::V8StackTrace> m_stackTrace; | 86 std::unique_ptr<v8_inspector::V8StackTrace> m_stackTrace; |
| 87 int m_scriptId; | 87 int m_scriptId; |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 } // namespace blink | 90 } // namespace blink |
| 91 | 91 |
| 92 #endif // SourceLocation_h | 92 #endif // SourceLocation_h |
| OLD | NEW |