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

Side by Side Diff: talk/app/webrtc/java/jni/classreferenceholder.cc

Issue 1312293003: Add option to enable ECDSA key for Java API. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Add TODO item Created 5 years, 3 months 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 | « talk/app/webrtc/dtlsidentitystore.cc ('k') | talk/app/webrtc/java/jni/peerconnection_jni.cc » ('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 * libjingle 2 * libjingle
3 * Copyright 2015 Google Inc. 3 * Copyright 2015 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 #endif 94 #endif
95 LoadClass(jni, "org/webrtc/MediaSource$State"); 95 LoadClass(jni, "org/webrtc/MediaSource$State");
96 LoadClass(jni, "org/webrtc/MediaStream"); 96 LoadClass(jni, "org/webrtc/MediaStream");
97 LoadClass(jni, "org/webrtc/MediaStreamTrack$State"); 97 LoadClass(jni, "org/webrtc/MediaStreamTrack$State");
98 LoadClass(jni, "org/webrtc/PeerConnection$BundlePolicy"); 98 LoadClass(jni, "org/webrtc/PeerConnection$BundlePolicy");
99 LoadClass(jni, "org/webrtc/PeerConnection$RtcpMuxPolicy"); 99 LoadClass(jni, "org/webrtc/PeerConnection$RtcpMuxPolicy");
100 LoadClass(jni, "org/webrtc/PeerConnection$IceConnectionState"); 100 LoadClass(jni, "org/webrtc/PeerConnection$IceConnectionState");
101 LoadClass(jni, "org/webrtc/PeerConnection$IceGatheringState"); 101 LoadClass(jni, "org/webrtc/PeerConnection$IceGatheringState");
102 LoadClass(jni, "org/webrtc/PeerConnection$IceTransportsType"); 102 LoadClass(jni, "org/webrtc/PeerConnection$IceTransportsType");
103 LoadClass(jni, "org/webrtc/PeerConnection$TcpCandidatePolicy"); 103 LoadClass(jni, "org/webrtc/PeerConnection$TcpCandidatePolicy");
104 LoadClass(jni, "org/webrtc/PeerConnection$KeyType");
104 LoadClass(jni, "org/webrtc/PeerConnection$SignalingState"); 105 LoadClass(jni, "org/webrtc/PeerConnection$SignalingState");
105 LoadClass(jni, "org/webrtc/SessionDescription"); 106 LoadClass(jni, "org/webrtc/SessionDescription");
106 LoadClass(jni, "org/webrtc/SessionDescription$Type"); 107 LoadClass(jni, "org/webrtc/SessionDescription$Type");
107 LoadClass(jni, "org/webrtc/StatsReport"); 108 LoadClass(jni, "org/webrtc/StatsReport");
108 LoadClass(jni, "org/webrtc/StatsReport$Value"); 109 LoadClass(jni, "org/webrtc/StatsReport$Value");
109 LoadClass(jni, "org/webrtc/VideoRenderer$I420Frame"); 110 LoadClass(jni, "org/webrtc/VideoRenderer$I420Frame");
110 LoadClass(jni, "org/webrtc/VideoCapturer"); 111 LoadClass(jni, "org/webrtc/VideoCapturer");
111 LoadClass(jni, "org/webrtc/VideoTrack"); 112 LoadClass(jni, "org/webrtc/VideoTrack");
112 } 113 }
113 114
(...skipping 26 matching lines...) Expand all
140 CHECK(inserted) << "Duplicate class name: " << name; 141 CHECK(inserted) << "Duplicate class name: " << name;
141 } 142 }
142 143
143 // Returns a global reference guaranteed to be valid for the lifetime of the 144 // Returns a global reference guaranteed to be valid for the lifetime of the
144 // process. 145 // process.
145 jclass FindClass(JNIEnv* jni, const char* name) { 146 jclass FindClass(JNIEnv* jni, const char* name) {
146 return g_class_reference_holder->GetClass(name); 147 return g_class_reference_holder->GetClass(name);
147 } 148 }
148 149
149 } // namespace webrtc_jni 150 } // namespace webrtc_jni
OLDNEW
« no previous file with comments | « talk/app/webrtc/dtlsidentitystore.cc ('k') | talk/app/webrtc/java/jni/peerconnection_jni.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698