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

Side by Side Diff: include/v8-tracing.h

Issue 2471583004: [Tracing] Make TracingCategoryObserver v8 internal. (Closed)
Patch Set: use unique_ptr Created 4 years, 1 month 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.gn ('k') | src/d8.cc » ('j') | src/d8.cc » ('J')
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_V8_TRACING_H_
6 #define V8_V8_TRACING_H_
7
8 #include "v8.h" // NOLINT(build/include)
9
10 namespace v8 {
11 namespace tracing {
12
13 class V8_EXPORT TracingCategoryObserver {
14 public:
15 enum Mode {
16 ENABLED_BY_NATIVE = 1 << 0,
17 ENABLED_BY_TRACING = 1 << 1,
18 };
19 static std::unique_ptr<TracingCategoryObserver> Create();
20 virtual ~TracingCategoryObserver() = default;
21
22 protected:
23 TracingCategoryObserver() = default;
24 };
25
26 } // namespace tracing
27 } // namespace v8
28
29 #endif // V8_V8_TRACING_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/d8.cc » ('j') | src/d8.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698