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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 } | 48 } |
49 | 49 |
50 BLINK_PLATFORM_EXPORT void assign(const WebRTCStatsResponse&); | 50 BLINK_PLATFORM_EXPORT void assign(const WebRTCStatsResponse&); |
51 | 51 |
52 BLINK_PLATFORM_EXPORT void reset(); | 52 BLINK_PLATFORM_EXPORT void reset(); |
53 | 53 |
54 BLINK_PLATFORM_EXPORT size_t addReport(WebString id, WebString type, double
timestamp); | 54 BLINK_PLATFORM_EXPORT size_t addReport(WebString id, WebString type, double
timestamp); |
55 BLINK_PLATFORM_EXPORT void addStatistic(size_t report, WebString name, WebSt
ring value); | 55 BLINK_PLATFORM_EXPORT void addStatistic(size_t report, WebString name, WebSt
ring value); |
56 | 56 |
57 #if INSIDE_BLINK | 57 #if INSIDE_BLINK |
58 BLINK_PLATFORM_EXPORT WebRTCStatsResponse(const WTF::PassRefPtr<WebCore::RTC
StatsResponseBase>&); | 58 BLINK_PLATFORM_EXPORT WebRTCStatsResponse(const PassRefPtrWillBeRawPtr<WebCo
re::RTCStatsResponseBase>&); |
59 | 59 |
60 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<WebCore::RTCStatsResponseBase
>() const; | 60 BLINK_PLATFORM_EXPORT operator PassRefPtrWillBeRawPtr<WebCore::RTCStatsRespo
nseBase>() const; |
61 #endif | 61 #endif |
62 | 62 |
63 private: | 63 private: |
64 WebPrivatePtr<WebCore::RTCStatsResponseBase> m_private; | 64 WebPrivatePtr<WebCore::RTCStatsResponseBase> m_private; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace blink | 67 } // namespace blink |
68 | 68 |
69 #endif // WebRTCStatsResponse_h | 69 #endif // WebRTCStatsResponse_h |
OLD | NEW |