| 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 "config.h" | 5 #include "sky/engine/config.h" |
| 6 #include "public/platform/WebConvertableToTraceFormat.h" | 6 #include "sky/engine/public/platform/WebConvertableToTraceFormat.h" |
| 7 | 7 |
| 8 #include "platform/EventTracer.h" | 8 #include "sky/engine/platform/EventTracer.h" |
| 9 #include "public/platform/WebString.h" | 9 #include "sky/engine/public/platform/WebString.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 WebConvertableToTraceFormat::WebConvertableToTraceFormat(TraceEvent::Convertable
ToTraceFormat* convertable) | 13 WebConvertableToTraceFormat::WebConvertableToTraceFormat(TraceEvent::Convertable
ToTraceFormat* convertable) |
| 14 : m_private(convertable) | 14 : m_private(convertable) |
| 15 { | 15 { |
| 16 } | 16 } |
| 17 | 17 |
| 18 WebString WebConvertableToTraceFormat::asTraceFormat() const | 18 WebString WebConvertableToTraceFormat::asTraceFormat() const |
| 19 { | 19 { |
| 20 return m_private->asTraceFormat(); | 20 return m_private->asTraceFormat(); |
| 21 } | 21 } |
| 22 | 22 |
| 23 void WebConvertableToTraceFormat::assign(const WebConvertableToTraceFormat& r) | 23 void WebConvertableToTraceFormat::assign(const WebConvertableToTraceFormat& r) |
| 24 { | 24 { |
| 25 m_private = r.m_private; | 25 m_private = r.m_private; |
| 26 } | 26 } |
| 27 | 27 |
| 28 void WebConvertableToTraceFormat::reset() | 28 void WebConvertableToTraceFormat::reset() |
| 29 { | 29 { |
| 30 m_private.reset(); | 30 m_private.reset(); |
| 31 } | 31 } |
| 32 | 32 |
| 33 } // namespace blink | 33 } // namespace blink |
| OLD | NEW |