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

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

Issue 1158923005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments. Exclude mime_sniffer*. Rebase. Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | net/android/cert_verify_result_android.h » ('j') | net/cert/crl_set_storage.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_ANDROID_ANDROID_PRIVATE_KEY_H 5 #ifndef NET_ANDROID_ANDROID_PRIVATE_KEY_H
6 #define NET_ANDROID_ANDROID_PRIVATE_KEY_H 6 #define NET_ANDROID_ANDROID_PRIVATE_KEY_H
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
11 #include "base/basictypes.h"
12 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
13 12
14 13
15 namespace net { 14 namespace net {
16 namespace android { 15 namespace android {
17 16
18 // Returns the KeyStore associated with a given AndroidPrivateKey 17 // Returns the KeyStore associated with a given AndroidPrivateKey
19 NET_EXPORT base::android::ScopedJavaLocalRef<jobject> GetKeyStore( 18 NET_EXPORT base::android::ScopedJavaLocalRef<jobject> GetKeyStore(
20 jobject private_key); 19 jobject private_key);
21 20
22 // Register JNI methods 21 // Register JNI methods
23 NET_EXPORT bool RegisterAndroidPrivateKey(JNIEnv* env); 22 NET_EXPORT bool RegisterAndroidPrivateKey(JNIEnv* env);
24 23
25 } // namespace android 24 } // namespace android
26 } // namespace net 25 } // namespace net
27 26
28 #endif // NET_ANDROID_ANDROID_PRIVATE_KEY_H 27 #endif // NET_ANDROID_ANDROID_PRIVATE_KEY_H
OLDNEW
« no previous file with comments | « no previous file | net/android/cert_verify_result_android.h » ('j') | net/cert/crl_set_storage.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698