OLD | NEW |
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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 21 matching lines...) Expand all Loading... |
32 #define WebRTCStatsRequest_h | 32 #define WebRTCStatsRequest_h |
33 | 33 |
34 #include "WebCommon.h" | 34 #include "WebCommon.h" |
35 #include "WebPrivatePtr.h" | 35 #include "WebPrivatePtr.h" |
36 #include "WebString.h" | 36 #include "WebString.h" |
37 | 37 |
38 namespace blink { | 38 namespace blink { |
39 | 39 |
40 class RTCStatsRequest; | 40 class RTCStatsRequest; |
41 class WebMediaStreamTrack; | 41 class WebMediaStreamTrack; |
42 class WebMediaStream; | |
43 class WebRTCStatsResponse; | 42 class WebRTCStatsResponse; |
44 | 43 |
45 // The WebRTCStatsRequest class represents a JavaScript call on | 44 // The WebRTCStatsRequest class represents a JavaScript call on |
46 // RTCPeerConnection.getStats(). The user of this API will use | 45 // RTCPeerConnection.getStats(). The user of this API will use |
47 // the calls on this class and WebRTCStatsResponse to fill in the | 46 // the calls on this class and WebRTCStatsResponse to fill in the |
48 // data that will be returned via a callback to the user in an | 47 // data that will be returned via a callback to the user in an |
49 // RTCStatsResponse structure. | 48 // RTCStatsResponse structure. |
50 // | 49 // |
51 // The typical usage pattern is: | 50 // The typical usage pattern is: |
52 // WebRTCStatsRequest request = <from somewhere> | 51 // WebRTCStatsRequest request = <from somewhere> |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 BLINK_PLATFORM_EXPORT WebRTCStatsRequest(RTCStatsRequest*); | 93 BLINK_PLATFORM_EXPORT WebRTCStatsRequest(RTCStatsRequest*); |
95 #endif | 94 #endif |
96 | 95 |
97 private: | 96 private: |
98 WebPrivatePtr<RTCStatsRequest, WebPrivatePtrDestructionCrossThread> m_private; | 97 WebPrivatePtr<RTCStatsRequest, WebPrivatePtrDestructionCrossThread> m_private; |
99 }; | 98 }; |
100 | 99 |
101 } // namespace blink | 100 } // namespace blink |
102 | 101 |
103 #endif // WebRTCStatsRequest_h | 102 #endif // WebRTCStatsRequest_h |
OLD | NEW |