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

Side by Side Diff: net/android/android_private_key.cc

Issue 1474603004: Remove Android support for out-of-process KeyStores (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated comments Created 5 years 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "net/android/android_private_key.h"
6
7 #include <vector>
8 #include "jni/AndroidPrivateKey_jni.h"
9
10 namespace net {
11 namespace android {
12
13 base::android::ScopedJavaLocalRef<jobject> GetKeyStore(
14 jobject private_key_ref) {
15 JNIEnv* env = base::android::AttachCurrentThread();
16 return Java_AndroidPrivateKey_getKeyStore(
17 env, private_key_ref);
18 }
19
20 bool RegisterAndroidPrivateKey(JNIEnv* env) {
21 return RegisterNativesImpl(env);
22 }
23
24 } // namespace android
25 } // namespace net
OLDNEW
« no previous file with comments | « net/android/android_private_key.h ('k') | net/android/java/src/org/chromium/net/AndroidKeyStore.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698