| 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 #ifndef TracedValue_h | 5 #ifndef TracedValue_h |
| 6 #define TracedValue_h | 6 #define TracedValue_h |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "platform/EventTracer.h" | 9 #include "platform/EventTracer.h" |
| 10 #include "wtf/PassOwnPtr.h" | 10 #include "wtf/PassOwnPtr.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 void beginArray(); | 44 void beginArray(); |
| 45 void beginDictionary(); | 45 void beginDictionary(); |
| 46 | 46 |
| 47 String toString() const; | 47 String toString() const; |
| 48 | 48 |
| 49 private: | 49 private: |
| 50 TracedValue(); | 50 TracedValue(); |
| 51 | 51 |
| 52 // This will be moved (and become null) when TracedValue is passed to | 52 // This will be moved (and become null) when TracedValue is passed to |
| 53 // EventTracer::addTraceEvent(). | 53 // EventTracer::addTraceEvent(). |
| 54 scoped_refptr<base::trace_event::TracedValue> m_tracedValue; | 54 scoped_ptr<base::trace_event::TracedValue> m_tracedValue; |
| 55 | 55 |
| 56 friend class EventTracer; | 56 friend class EventTracer; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace blink | 59 } // namespace blink |
| 60 | 60 |
| 61 #endif // TracedValue_h | 61 #endif // TracedValue_h |
| OLD | NEW |