OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_SDK_ANDROID_SRC_JNI_RTCSTATSCOLLECTORCALLBACKWRAPPER_H_ | 11 #ifndef WEBRTC_SDK_ANDROID_SRC_JNI_PC_RTCSTATSCOLLECTORCALLBACKWRAPPER_H_ |
12 #define WEBRTC_SDK_ANDROID_SRC_JNI_RTCSTATSCOLLECTORCALLBACKWRAPPER_H_ | 12 #define WEBRTC_SDK_ANDROID_SRC_JNI_PC_RTCSTATSCOLLECTORCALLBACKWRAPPER_H_ |
13 | 13 |
14 #include <jni.h> | 14 #include <jni.h> |
15 | 15 |
16 #include "webrtc/api/peerconnectioninterface.h" | 16 #include "webrtc/api/peerconnectioninterface.h" |
17 #include "webrtc/sdk/android/src/jni/jni_helpers.h" | 17 #include "webrtc/sdk/android/src/jni/jni_helpers.h" |
18 | 18 |
19 namespace webrtc_jni { | 19 namespace webrtc_jni { |
20 | 20 |
21 // Adapter for a Java RTCStatsCollectorCallback presenting a C++ | 21 // Adapter for a Java RTCStatsCollectorCallback presenting a C++ |
22 // RTCStatsCollectorCallback and dispatching the callback from C++ back to | 22 // RTCStatsCollectorCallback and dispatching the callback from C++ back to |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 const jmethodID j_long_ctor_; | 55 const jmethodID j_long_ctor_; |
56 const jclass j_big_integer_class_; | 56 const jclass j_big_integer_class_; |
57 const jmethodID j_big_integer_ctor_; | 57 const jmethodID j_big_integer_ctor_; |
58 const jclass j_double_class_; | 58 const jclass j_double_class_; |
59 const jmethodID j_double_ctor_; | 59 const jmethodID j_double_ctor_; |
60 const jclass j_string_class_; | 60 const jclass j_string_class_; |
61 }; | 61 }; |
62 | 62 |
63 } // namespace webrtc_jni | 63 } // namespace webrtc_jni |
64 | 64 |
65 #endif // WEBRTC_SDK_ANDROID_SRC_JNI_RTCSTATSCOLLECTORCALLBACKWRAPPER_H_ | 65 #endif // WEBRTC_SDK_ANDROID_SRC_JNI_PC_RTCSTATSCOLLECTORCALLBACKWRAPPER_H_ |
OLD | NEW |