| Index: base/debug/trace_event_impl.h
|
| diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h
|
| index 7b191b8a403f2bbf7baf25bde779ba691478db26..20e9bd8f02eb2b26e4d710eb8483cc4723fad306 100644
|
| --- a/base/debug/trace_event_impl.h
|
| +++ b/base/debug/trace_event_impl.h
|
| @@ -72,6 +72,12 @@ class ConvertableToTraceFormat : public RefCounted<ConvertableToTraceFormat> {
|
| // appended.
|
| virtual void AppendAsTraceFormat(std::string* out) const = 0;
|
|
|
| + std::string ToString() const {
|
| + std::string result;
|
| + AppendAsTraceFormat(&result);
|
| + return result;
|
| + }
|
| +
|
| protected:
|
| virtual ~ConvertableToTraceFormat() {}
|
|
|
|
|