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 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebRTCStatsRequest_h | 31 #ifndef WebRTCStatsRequest_h |
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 WebCore { | 38 namespace blink { |
39 class RTCStatsRequest; | 39 class RTCStatsRequest; |
40 } | 40 } |
41 | 41 |
42 namespace blink { | 42 namespace blink { |
43 | 43 |
44 class WebMediaStreamTrack; | 44 class WebMediaStreamTrack; |
45 class WebMediaStream; | 45 class WebMediaStream; |
46 class WebRTCStatsResponse; | 46 class WebRTCStatsResponse; |
47 | 47 |
48 // The WebRTCStatsRequest class represents a JavaScript call on | 48 // The WebRTCStatsRequest class represents a JavaScript call on |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // The component() accessor give the information | 88 // The component() accessor give the information |
89 // required to look up a MediaStreamTrack implementation. | 89 // required to look up a MediaStreamTrack implementation. |
90 // It is only useful to call it when hasSelector() returns true. | 90 // It is only useful to call it when hasSelector() returns true. |
91 BLINK_PLATFORM_EXPORT const WebMediaStreamTrack component() const; | 91 BLINK_PLATFORM_EXPORT const WebMediaStreamTrack component() const; |
92 | 92 |
93 BLINK_PLATFORM_EXPORT void requestSucceeded(const WebRTCStatsResponse&) cons
t; | 93 BLINK_PLATFORM_EXPORT void requestSucceeded(const WebRTCStatsResponse&) cons
t; |
94 | 94 |
95 BLINK_PLATFORM_EXPORT WebRTCStatsResponse createResponse() const; | 95 BLINK_PLATFORM_EXPORT WebRTCStatsResponse createResponse() const; |
96 | 96 |
97 #if INSIDE_BLINK | 97 #if INSIDE_BLINK |
98 BLINK_PLATFORM_EXPORT WebRTCStatsRequest(const PassRefPtr<WebCore::RTCStatsR
equest>&); | 98 BLINK_PLATFORM_EXPORT WebRTCStatsRequest(const PassRefPtr<blink::RTCStatsReq
uest>&); |
99 #endif | 99 #endif |
100 | 100 |
101 private: | 101 private: |
102 WebPrivatePtr<WebCore::RTCStatsRequest> m_private; | 102 WebPrivatePtr<blink::RTCStatsRequest> m_private; |
103 }; | 103 }; |
104 | 104 |
105 } // namespace blink | 105 } // namespace blink |
106 | 106 |
107 #endif // WebRTCStatsRequest_h | 107 #endif // WebRTCStatsRequest_h |
OLD | NEW |