Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / net / android / android_private_key.cc
blob8f56085ad7ca37b30c2935db8110590f464048b9
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.
5 #include "net/android/android_private_key.h"
7 #include <vector>
8 #include "jni/AndroidPrivateKey_jni.h"
10 namespace net {
11 namespace android {
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);
20 bool RegisterAndroidPrivateKey(JNIEnv* env) {
21 return RegisterNativesImpl(env);
24 } // namespace android
25 } // namespace net