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

Side by Side Diff: src/inspector/public/V8StackTrace.h

Issue 2292573002: [inspector] Initial import of v8_inspector. (Closed)
Patch Set: format the code, disable cpplint 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 | « src/inspector/public/V8InspectorSession.h ('k') | tools/presubmit.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef V8_INSPECTOR_PUBLIC_V8STACKTRACE_H_
6 #define V8_INSPECTOR_PUBLIC_V8STACKTRACE_H_
7
8 #include "src/inspector/public/StringBuffer.h"
9 #include "src/inspector/public/StringView.h"
10 #include "src/inspector/public/protocol/Runtime.h"
11
12 namespace v8_inspector {
13
14 class V8StackTrace {
15 public:
16 virtual bool isEmpty() const = 0;
17 virtual StringView topSourceURL() const = 0;
18 virtual int topLineNumber() const = 0;
19 virtual int topColumnNumber() const = 0;
20 virtual StringView topScriptId() const = 0;
21 virtual StringView topFunctionName() const = 0;
22
23 virtual ~V8StackTrace() {}
24 virtual std::unique_ptr<protocol::Runtime::API::StackTrace>
25 buildInspectorObject() const = 0;
26 virtual std::unique_ptr<StringBuffer> toString() const = 0;
27
28 // Safe to pass between threads, drops async chain.
29 virtual std::unique_ptr<V8StackTrace> clone() = 0;
30 };
31
32 } // namespace v8_inspector
33
34 #endif // V8_INSPECTOR_PUBLIC_V8STACKTRACE_H_
OLDNEW
« no previous file with comments | « src/inspector/public/V8InspectorSession.h ('k') | tools/presubmit.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698