| Index: net/android/android_private_key.h
|
| diff --git a/net/android/android_private_key.h b/net/android/android_private_key.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9782a2d5e03898b5452ae0c23d167cb78dd95f54
|
| --- /dev/null
|
| +++ b/net/android/android_private_key.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef NET_ANDROID_ANDROID_PRIVATE_KEY_H
|
| +#define NET_ANDROID_ANDROID_PRIVATE_KEY_H
|
| +
|
| +#include <jni.h>
|
| +
|
| +#include "base/android/scoped_java_ref.h"
|
| +#include "base/basictypes.h"
|
| +#include "net/base/net_export.h"
|
| +
|
| +
|
| +namespace net {
|
| +namespace android {
|
| +
|
| +// Returns the KeyStore associated with a given AndroidPrivateKey
|
| +NET_EXPORT base::android::ScopedJavaLocalRef<jobject> GetKeyStore(
|
| + jobject private_key);
|
| +
|
| +// Register JNI methods
|
| +NET_EXPORT bool RegisterAndroidPrivateKey(JNIEnv* env);
|
| +
|
| +} // namespace android
|
| +} // namespace net
|
| +
|
| +#endif // NET_ANDROID_ANDROID_PRIVATE_KEY_H
|
|
|