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

Unified Diff: include/libplatform/v8-tracing.h

Issue 2372983003: Turn libplatform into a component (Closed)
Patch Set: rebase Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/libplatform/libplatform-export.h ('k') | src/base/compiler-specific.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/libplatform/v8-tracing.h
diff --git a/include/libplatform/v8-tracing.h b/include/libplatform/v8-tracing.h
index e9f49414784da5ca9bce048c143e37c5f191ffb1..98aeaa347e545c0454f79ad7dab005afa03c92d4 100644
--- a/include/libplatform/v8-tracing.h
+++ b/include/libplatform/v8-tracing.h
@@ -10,6 +10,7 @@
#include <unordered_set>
#include <vector>
+#include "libplatform/libplatform-export.h"
#include "v8-platform.h" // NOLINT(build/include)
namespace v8 {
@@ -23,7 +24,7 @@ namespace tracing {
const int kTraceMaxNumArgs = 2;
-class TraceObject {
+class V8_PLATFORM_EXPORT TraceObject {
public:
union ArgValue {
bool as_bool;
@@ -103,7 +104,7 @@ class TraceObject {
void operator=(const TraceObject&) = delete;
};
-class TraceWriter {
+class V8_PLATFORM_EXPORT TraceWriter {
public:
TraceWriter() {}
virtual ~TraceWriter() {}
@@ -118,7 +119,7 @@ class TraceWriter {
void operator=(const TraceWriter&) = delete;
};
-class TraceBufferChunk {
+class V8_PLATFORM_EXPORT TraceBufferChunk {
public:
explicit TraceBufferChunk(uint32_t seq);
@@ -142,7 +143,7 @@ class TraceBufferChunk {
void operator=(const TraceBufferChunk&) = delete;
};
-class TraceBuffer {
+class V8_PLATFORM_EXPORT TraceBuffer {
public:
TraceBuffer() {}
virtual ~TraceBuffer() {}
@@ -178,7 +179,7 @@ enum TraceRecordMode {
ECHO_TO_CONSOLE,
};
-class TraceConfig {
+class V8_PLATFORM_EXPORT TraceConfig {
public:
typedef std::vector<std::string> StringList;
@@ -216,7 +217,7 @@ class TraceConfig {
void operator=(const TraceConfig&) = delete;
};
-class TracingController {
+class V8_PLATFORM_EXPORT TracingController {
public:
enum Mode { DISABLED = 0, RECORDING_MODE };
« no previous file with comments | « include/libplatform/libplatform-export.h ('k') | src/base/compiler-specific.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698