| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |