mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-10 04:30:56 +00:00
base: Export trace event stubs for debug build
This commit is contained in:
parent
35c1b39cfc
commit
ed2c513637
1 changed files with 6 additions and 6 deletions
|
@ -226,19 +226,19 @@ class TracedArray;
|
|||
class TracedDictionary;
|
||||
class EventContext;
|
||||
|
||||
class StaticString {
|
||||
class BASE_EXPORT StaticString {
|
||||
public:
|
||||
template <typename T>
|
||||
StaticString(T) {}
|
||||
};
|
||||
|
||||
class DynamicString {
|
||||
class BASE_EXPORT DynamicString {
|
||||
public:
|
||||
template <typename T>
|
||||
explicit DynamicString(T) {}
|
||||
};
|
||||
|
||||
class TracedValue {
|
||||
class BASE_EXPORT TracedValue {
|
||||
public:
|
||||
void WriteInt64(int64_t) && {}
|
||||
void WriteUInt64(uint64_t) && {}
|
||||
|
@ -253,7 +253,7 @@ class TracedValue {
|
|||
TracedArray WriteArray() &&;
|
||||
};
|
||||
|
||||
class TracedDictionary {
|
||||
class BASE_EXPORT TracedDictionary {
|
||||
public:
|
||||
TracedValue AddItem(StaticString) { return TracedValue(); }
|
||||
TracedValue AddItem(DynamicString) { return TracedValue(); }
|
||||
|
@ -269,7 +269,7 @@ class TracedDictionary {
|
|||
TracedArray AddArray(DynamicString);
|
||||
};
|
||||
|
||||
class TracedArray {
|
||||
class BASE_EXPORT TracedArray {
|
||||
public:
|
||||
TracedValue AppendItem() { return TracedValue(); }
|
||||
|
||||
|
@ -281,7 +281,7 @@ class TracedArray {
|
|||
};
|
||||
|
||||
template <class T>
|
||||
void WriteIntoTracedValue(TracedValue, T&&) {}
|
||||
BASE_EXPORT void WriteIntoTracedValue(TracedValue, T&&) {}
|
||||
|
||||
} // namespace perfetto
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue