Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: webrtc/api/android/jni/classreferenceholder.cc

Issue 2403463002: Allow custom metrics implementations on Android. (Closed)
Patch Set: Rebase. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/android/jni/androidmetrics_jni.cc ('k') | webrtc/examples/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 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 #include "webrtc/api/android/jni/classreferenceholder.h" 10 #include "webrtc/api/android/jni/classreferenceholder.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder"); 62 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder");
63 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$OutputBufferInfo"); 63 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$OutputBufferInfo");
64 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$VideoCodecType"); 64 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$VideoCodecType");
65 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder"); 65 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder");
66 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedTextureBuffer"); 66 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedTextureBuffer");
67 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedOutputBuffer"); 67 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedOutputBuffer");
68 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$VideoCodecType"); 68 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$VideoCodecType");
69 LoadClass(jni, "org/webrtc/MediaSource$State"); 69 LoadClass(jni, "org/webrtc/MediaSource$State");
70 LoadClass(jni, "org/webrtc/MediaStream"); 70 LoadClass(jni, "org/webrtc/MediaStream");
71 LoadClass(jni, "org/webrtc/MediaStreamTrack$State"); 71 LoadClass(jni, "org/webrtc/MediaStreamTrack$State");
72 LoadClass(jni, "org/webrtc/Metrics");
73 LoadClass(jni, "org/webrtc/Metrics$HistogramInfo");
74 LoadClass(jni, "org/webrtc/NetworkMonitor"); 72 LoadClass(jni, "org/webrtc/NetworkMonitor");
75 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$ConnectionType"); 73 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$ConnectionType");
76 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$IPAddress"); 74 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$IPAddress");
77 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$NetworkInformation"); 75 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$NetworkInformation");
78 LoadClass(jni, "org/webrtc/PeerConnectionFactory"); 76 LoadClass(jni, "org/webrtc/PeerConnectionFactory");
79 LoadClass(jni, "org/webrtc/PeerConnection$BundlePolicy"); 77 LoadClass(jni, "org/webrtc/PeerConnection$BundlePolicy");
80 LoadClass(jni, "org/webrtc/PeerConnection$ContinualGatheringPolicy"); 78 LoadClass(jni, "org/webrtc/PeerConnection$ContinualGatheringPolicy");
81 LoadClass(jni, "org/webrtc/PeerConnection$RtcpMuxPolicy"); 79 LoadClass(jni, "org/webrtc/PeerConnection$RtcpMuxPolicy");
82 LoadClass(jni, "org/webrtc/PeerConnection$IceConnectionState"); 80 LoadClass(jni, "org/webrtc/PeerConnection$IceConnectionState");
83 LoadClass(jni, "org/webrtc/PeerConnection$IceGatheringState"); 81 LoadClass(jni, "org/webrtc/PeerConnection$IceGatheringState");
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 RTC_CHECK(inserted) << "Duplicate class name: " << name; 125 RTC_CHECK(inserted) << "Duplicate class name: " << name;
128 } 126 }
129 127
130 // Returns a global reference guaranteed to be valid for the lifetime of the 128 // Returns a global reference guaranteed to be valid for the lifetime of the
131 // process. 129 // process.
132 jclass FindClass(JNIEnv* jni, const char* name) { 130 jclass FindClass(JNIEnv* jni, const char* name) {
133 return g_class_reference_holder->GetClass(name); 131 return g_class_reference_holder->GetClass(name);
134 } 132 }
135 133
136 } // namespace webrtc_jni 134 } // namespace webrtc_jni
OLDNEW
« no previous file with comments | « webrtc/api/android/jni/androidmetrics_jni.cc ('k') | webrtc/examples/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698