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 "platform/EventTracer.h" | 8 #include "platform/EventTracer.h" |
9 | 9 |
10 #include "wtf/PassRefPtr.h" | 10 #include "wtf/PassRefPtr.h" |
11 #include "wtf/text/WTFString.h" | 11 #include "wtf/text/WTFString.h" |
12 | 12 |
13 namespace WebCore { | 13 namespace blink { |
14 class JSONArray; | 14 class JSONArray; |
15 class JSONObject; | 15 class JSONObject; |
16 class JSONValue; | 16 class JSONValue; |
17 class TracedArrayBase; | 17 class TracedArrayBase; |
18 template<class T> class TracedArray; | 18 template<class T> class TracedArray; |
19 template<class T> class TracedDictionary; | 19 template<class T> class TracedDictionary; |
20 | 20 |
21 class PLATFORM_EXPORT TracedValueBase { | 21 class PLATFORM_EXPORT TracedValueBase { |
22 WTF_MAKE_NONCOPYABLE(TracedValueBase); | 22 WTF_MAKE_NONCOPYABLE(TracedValueBase); |
23 protected: | 23 protected: |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 } | 253 } |
254 SelfType& setString(const char* name, const String& value) | 254 SelfType& setString(const char* name, const String& value) |
255 { | 255 { |
256 TracedValueBase::setString(name, value); | 256 TracedValueBase::setString(name, value); |
257 return *this; | 257 return *this; |
258 } | 258 } |
259 | 259 |
260 PassRefPtr<TraceEvent::ConvertableToTraceFormat> finish(); | 260 PassRefPtr<TraceEvent::ConvertableToTraceFormat> finish(); |
261 }; | 261 }; |
262 | 262 |
263 } // namespace WebCore | 263 } // namespace blink |
264 | 264 |
265 #endif // TracedValue_h | 265 #endif // TracedValue_h |
OLD | NEW |