mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
base: Export trace event stubs for debug build
This commit is contained in:
parent
35c1b39cfc
commit
ed2c513637
@ -226,19 +226,19 @@ class TracedArray;
|
|||||||
class TracedDictionary;
|
class TracedDictionary;
|
||||||
class EventContext;
|
class EventContext;
|
||||||
|
|
||||||
class StaticString {
|
class BASE_EXPORT StaticString {
|
||||||
public:
|
public:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
StaticString(T) {}
|
StaticString(T) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class DynamicString {
|
class BASE_EXPORT DynamicString {
|
||||||
public:
|
public:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
explicit DynamicString(T) {}
|
explicit DynamicString(T) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class TracedValue {
|
class BASE_EXPORT TracedValue {
|
||||||
public:
|
public:
|
||||||
void WriteInt64(int64_t) && {}
|
void WriteInt64(int64_t) && {}
|
||||||
void WriteUInt64(uint64_t) && {}
|
void WriteUInt64(uint64_t) && {}
|
||||||
@ -253,7 +253,7 @@ class TracedValue {
|
|||||||
TracedArray WriteArray() &&;
|
TracedArray WriteArray() &&;
|
||||||
};
|
};
|
||||||
|
|
||||||
class TracedDictionary {
|
class BASE_EXPORT TracedDictionary {
|
||||||
public:
|
public:
|
||||||
TracedValue AddItem(StaticString) { return TracedValue(); }
|
TracedValue AddItem(StaticString) { return TracedValue(); }
|
||||||
TracedValue AddItem(DynamicString) { return TracedValue(); }
|
TracedValue AddItem(DynamicString) { return TracedValue(); }
|
||||||
@ -269,7 +269,7 @@ class TracedDictionary {
|
|||||||
TracedArray AddArray(DynamicString);
|
TracedArray AddArray(DynamicString);
|
||||||
};
|
};
|
||||||
|
|
||||||
class TracedArray {
|
class BASE_EXPORT TracedArray {
|
||||||
public:
|
public:
|
||||||
TracedValue AppendItem() { return TracedValue(); }
|
TracedValue AppendItem() { return TracedValue(); }
|
||||||
|
|
||||||
@ -281,7 +281,7 @@ class TracedArray {
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
void WriteIntoTracedValue(TracedValue, T&&) {}
|
BASE_EXPORT void WriteIntoTracedValue(TracedValue, T&&) {}
|
||||||
|
|
||||||
} // namespace perfetto
|
} // namespace perfetto
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user