OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "platform/TracedValue.h" | 5 #include "platform/TracedValue.h" |
6 | 6 |
7 #include "base/trace_event/trace_event_argument.h" | 7 #include "base/trace_event/trace_event_argument.h" |
8 #include "wtf/text/StringUTF8Adaptor.h" | 8 #include "wtf/text/StringUTF8Adaptor.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 std::string out; | 100 std::string out; |
101 m_tracedValue->AppendAsTraceFormat(&out); | 101 m_tracedValue->AppendAsTraceFormat(&out); |
102 return String::fromUTF8(out.c_str()); | 102 return String::fromUTF8(out.c_str()); |
103 } | 103 } |
104 | 104 |
105 void TracedValue::estimateTraceMemoryOverhead(base::trace_event::TraceEventMemor
yOverhead* overhead) | 105 void TracedValue::estimateTraceMemoryOverhead(base::trace_event::TraceEventMemor
yOverhead* overhead) |
106 { | 106 { |
107 m_tracedValue->EstimateTraceMemoryOverhead(overhead); | 107 m_tracedValue->EstimateTraceMemoryOverhead(overhead); |
108 } | 108 } |
109 | 109 |
110 } | 110 } // namespace blink |
OLD | NEW |