Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(805)

Side by Side Diff: third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.h

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 11 matching lines...) Expand all
22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24 24
25 #ifndef RTCStatsResponse_h 25 #ifndef RTCStatsResponse_h
26 #define RTCStatsResponse_h 26 #define RTCStatsResponse_h
27 27
28 #include "bindings/core/v8/ScriptWrappable.h" 28 #include "bindings/core/v8/ScriptWrappable.h"
29 #include "modules/peerconnection/RTCLegacyStatsReport.h" 29 #include "modules/peerconnection/RTCLegacyStatsReport.h"
30 #include "platform/heap/Handle.h" 30 #include "platform/heap/Handle.h"
31 #include "platform/peerconnection/RTCStatsResponseBase.h" 31 #include "platform/peerconnection/RTCStatsResponseBase.h"
32 #include "wtf/HashMap.h" 32 #include "platform/wtf/HashMap.h"
33 #include "wtf/Vector.h" 33 #include "platform/wtf/Vector.h"
34 #include "wtf/text/WTFString.h" 34 #include "platform/wtf/text/WTFString.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class RTCStatsResponse final : public RTCStatsResponseBase, 38 class RTCStatsResponse final : public RTCStatsResponseBase,
39 public ScriptWrappable { 39 public ScriptWrappable {
40 DEFINE_WRAPPERTYPEINFO(); 40 DEFINE_WRAPPERTYPEINFO();
41 41
42 public: 42 public:
43 static RTCStatsResponse* Create(); 43 static RTCStatsResponse* Create();
44 44
45 const HeapVector<Member<RTCLegacyStatsReport>>& result() const { 45 const HeapVector<Member<RTCLegacyStatsReport>>& result() const {
46 return result_; 46 return result_;
47 } 47 }
48 RTCLegacyStatsReport* namedItem(const AtomicString& name); 48 RTCLegacyStatsReport* namedItem(const AtomicString& name);
49 49
50 void AddStats(const WebRTCLegacyStats&) override; 50 void AddStats(const WebRTCLegacyStats&) override;
51 51
52 DECLARE_VIRTUAL_TRACE(); 52 DECLARE_VIRTUAL_TRACE();
53 53
54 private: 54 private:
55 RTCStatsResponse(); 55 RTCStatsResponse();
56 56
57 HeapVector<Member<RTCLegacyStatsReport>> result_; 57 HeapVector<Member<RTCLegacyStatsReport>> result_;
58 HashMap<String, int> idmap_; 58 HashMap<String, int> idmap_;
59 }; 59 };
60 60
61 } // namespace blink 61 } // namespace blink
62 62
63 #endif // RTCStatsResponse_h 63 #endif // RTCStatsResponse_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698