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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/SourceLocation.h

Issue 2295913003: [DevTools] Switch from platform/v8_inspector to v8/v8-inspector.h. (Closed)
Patch Set: rebase Created 4 years, 3 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 | « build_overrides/v8.gni ('k') | third_party/WebKit/Source/bindings/core/v8/SourceLocation.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 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 "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/CrossThreadCopier.h" 9 #include "platform/CrossThreadCopier.h"
10 #include "platform/v8_inspector/public/V8StackTrace.h"
11 #include "wtf/Forward.h" 10 #include "wtf/Forward.h"
12 #include "wtf/text/WTFString.h" 11 #include "wtf/text/WTFString.h"
13 #include <memory> 12 #include <memory>
14 #include <v8.h> 13 #include <v8-inspector-protocol.h>
15 14
16 namespace blink { 15 namespace blink {
17 16
18 class ExecutionContext; 17 class ExecutionContext;
19 class TracedValue; 18 class TracedValue;
20 19
21 class CORE_EXPORT SourceLocation { 20 class CORE_EXPORT SourceLocation {
22 public: 21 public:
23 // Zero lineNumber and columnNumber mean unknown. Captures current stack tra ce. 22 // Zero lineNumber and columnNumber mean unknown. Captures current stack tra ce.
24 static std::unique_ptr<SourceLocation> capture(const String& url, unsigned l ineNumber, unsigned columnNumber); 23 static std::unique_ptr<SourceLocation> capture(const String& url, unsigned l ineNumber, unsigned columnNumber);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 String m_url; 60 String m_url;
62 unsigned m_lineNumber; 61 unsigned m_lineNumber;
63 unsigned m_columnNumber; 62 unsigned m_columnNumber;
64 std::unique_ptr<v8_inspector::V8StackTrace> m_stackTrace; 63 std::unique_ptr<v8_inspector::V8StackTrace> m_stackTrace;
65 int m_scriptId; 64 int m_scriptId;
66 }; 65 };
67 66
68 } // namespace blink 67 } // namespace blink
69 68
70 #endif // SourceLocation_h 69 #endif // SourceLocation_h
OLDNEW
« no previous file with comments | « build_overrides/v8.gni ('k') | third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698