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

Side by Side Diff: net/android/cert_verify_result_android.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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_CERT_VERIFY_RESULT_ANDROID_H_ 5 #ifndef NET_ANDROID_CERT_VERIFY_RESULT_ANDROID_H_
6 #define NET_ANDROID_CERT_VERIFY_RESULT_ANDROID_H_ 6 #define NET_ANDROID_CERT_VERIFY_RESULT_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h"
14
15 namespace net { 13 namespace net {
16 14
17 namespace android { 15 namespace android {
18 16
19 // The list of certificate verification results returned from Java side to the 17 // The list of certificate verification results returned from Java side to the
20 // C++ side. 18 // C++ side.
21 // 19 //
22 // A Java counterpart will be generated for this enum. 20 // A Java counterpart will be generated for this enum.
23 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.net 21 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.net
24 enum CertVerifyStatusAndroid { 22 enum CertVerifyStatusAndroid {
(...skipping 22 matching lines...) Expand all
47 std::vector<std::string>* verified_chain); 45 std::vector<std::string>* verified_chain);
48 46
49 // Register JNI methods. 47 // Register JNI methods.
50 bool RegisterCertVerifyResult(JNIEnv* env); 48 bool RegisterCertVerifyResult(JNIEnv* env);
51 49
52 } // namespace android 50 } // namespace android
53 51
54 } // namespace net 52 } // namespace net
55 53
56 #endif // NET_ANDROID_CERT_VERIFY_RESULT_ANDROID_H_ 54 #endif // NET_ANDROID_CERT_VERIFY_RESULT_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698