Update V8 to version 4.5.72.
[chromium-blink-merge.git] / net / android / android_private_key.h
blob24f4f45e71f5732e1da0d96a8f713b4426ed85e1
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 #ifndef NET_ANDROID_ANDROID_PRIVATE_KEY_H
6 #define NET_ANDROID_ANDROID_PRIVATE_KEY_H
8 #include <jni.h>
10 #include "base/android/scoped_java_ref.h"
11 #include "net/base/net_export.h"
14 namespace net {
15 namespace android {
17 // Returns the KeyStore associated with a given AndroidPrivateKey
18 NET_EXPORT base::android::ScopedJavaLocalRef<jobject> GetKeyStore(
19 jobject private_key);
21 // Register JNI methods
22 NET_EXPORT bool RegisterAndroidPrivateKey(JNIEnv* env);
24 } // namespace android
25 } // namespace net
27 #endif // NET_ANDROID_ANDROID_PRIVATE_KEY_H