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

Unified Diff: net/cert/x509_util_android.cc

Issue 2057223002: Roll base to 0032c8e1a72eb85d947d8df8de503caa62b4d0a8. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: net/cert/x509_util_android.cc
diff --git a/net/cert/x509_util_android.cc b/net/cert/x509_util_android.cc
index 9648ffb91f09b39058059eca555d50c7f0298459..2a91f4a2792a580f1b5f5450777f0e10fa7a27e7 100644
--- a/net/cert/x509_util_android.cc
+++ b/net/cert/x509_util_android.cc
@@ -12,12 +12,12 @@
namespace net {
-void NotifyKeyChainChanged(JNIEnv* env, jclass clazz) {
+void NotifyKeyChainChanged(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
CertDatabase::GetInstance()->OnAndroidKeyChainChanged();
}
void RecordCertVerifyCapabilitiesHistogram(JNIEnv* env,
- jclass clazz,
+ const JavaParamRef<jclass>& clazz,
jboolean found_system_trust_roots) {
// Only record the histogram for 4.2 and up. Before 4.2, the platform doesn't
// return the certificate chain anyway.
@@ -27,7 +27,9 @@ void RecordCertVerifyCapabilitiesHistogram(JNIEnv* env,
}
}
-ScopedJavaLocalRef<jobject> GetApplicationContext(JNIEnv* env, jclass clazz) {
+ScopedJavaLocalRef<jobject> GetApplicationContext(
+ JNIEnv* env,
+ const JavaParamRef<jclass>& clazz) {
ScopedJavaLocalRef<jobject> r;
// Must use Reset to force creation of a new local ref, instead of trying to
// adopt the global-ref'ed jobject as a local ref as the constructor would.
« no previous file with comments | « net/android/network_change_notifier_delegate_android.cc ('k') | testing/android/native_test/native_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698