| 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 | 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 10 matching lines...) Expand all Loading... |
| 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #include "config.h" | 25 #include "config.h" |
| 26 | 26 |
| 27 #if ENABLE(MEDIA_STREAM) | 27 #if ENABLE(MEDIA_STREAM) |
| 28 | 28 |
| 29 #include <public/WebRTCStatsResponse.h> | 29 #include <public/WebRTCStatsResponse.h> |
| 30 | 30 |
| 31 #include "RTCStatsResponseBase.h" | 31 #include "core/platform/mediastream/RTCStatsResponseBase.h" |
| 32 #include <wtf/PassOwnPtr.h> | 32 #include <wtf/PassOwnPtr.h> |
| 33 | 33 |
| 34 using namespace WebCore; | 34 using namespace WebCore; |
| 35 | 35 |
| 36 namespace WebKit { | 36 namespace WebKit { |
| 37 | 37 |
| 38 WebRTCStatsResponse::WebRTCStatsResponse(const PassRefPtr<RTCStatsResponseBase>&
request) | 38 WebRTCStatsResponse::WebRTCStatsResponse(const PassRefPtr<RTCStatsResponseBase>&
request) |
| 39 : m_private(request) | 39 : m_private(request) |
| 40 { | 40 { |
| 41 } | 41 } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 64 void WebRTCStatsResponse::addStatistic(size_t report, WebString name, WebString
value) | 64 void WebRTCStatsResponse::addStatistic(size_t report, WebString name, WebString
value) |
| 65 { | 65 { |
| 66 ASSERT(!m_private.isNull()); | 66 ASSERT(!m_private.isNull()); |
| 67 m_private->addStatistic(report, name, value); | 67 m_private->addStatistic(report, name, value); |
| 68 } | 68 } |
| 69 | 69 |
| 70 } // namespace WebKit | 70 } // namespace WebKit |
| 71 | 71 |
| 72 #endif // ENABLE(MEDIA_STREAM) | 72 #endif // ENABLE(MEDIA_STREAM) |
| 73 | 73 |
| OLD | NEW |