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

Side by Side Diff: net/cert/cert_verify_proc_android.h

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment Created 6 years, 2 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 | « net/base/upload_file_element_reader.h ('k') | net/cert/cert_verify_proc_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CERT_CERT_VERIFY_PROC_ANDROID_H_ 5 #ifndef NET_CERT_CERT_VERIFY_PROC_ANDROID_H_
6 #define NET_CERT_CERT_VERIFY_PROC_ANDROID_H_ 6 #define NET_CERT_CERT_VERIFY_PROC_ANDROID_H_
7 7
8 #include "net/cert/cert_verify_proc.h" 8 #include "net/cert/cert_verify_proc.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 // Performs certificate verification on Android by calling the platform 12 // Performs certificate verification on Android by calling the platform
13 // TrustManager through JNI. 13 // TrustManager through JNI.
14 class CertVerifyProcAndroid : public CertVerifyProc { 14 class CertVerifyProcAndroid : public CertVerifyProc {
15 public: 15 public:
16 CertVerifyProcAndroid(); 16 CertVerifyProcAndroid();
17 17
18 virtual bool SupportsAdditionalTrustAnchors() const OVERRIDE; 18 virtual bool SupportsAdditionalTrustAnchors() const override;
19 19
20 protected: 20 protected:
21 virtual ~CertVerifyProcAndroid(); 21 virtual ~CertVerifyProcAndroid();
22 22
23 private: 23 private:
24 virtual int VerifyInternal(X509Certificate* cert, 24 virtual int VerifyInternal(X509Certificate* cert,
25 const std::string& hostname, 25 const std::string& hostname,
26 int flags, 26 int flags,
27 CRLSet* crl_set, 27 CRLSet* crl_set,
28 const CertificateList& additional_trust_anchors, 28 const CertificateList& additional_trust_anchors,
29 CertVerifyResult* verify_result) OVERRIDE; 29 CertVerifyResult* verify_result) override;
30 }; 30 };
31 31
32 } // namespace net 32 } // namespace net
33 33
34 #endif // NET_CERT_CERT_VERIFY_PROC_ANDROID_H_ 34 #endif // NET_CERT_CERT_VERIFY_PROC_ANDROID_H_
OLDNEW
« no previous file with comments | « net/base/upload_file_element_reader.h ('k') | net/cert/cert_verify_proc_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698