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

Side by Side Diff: net/quic/crypto/proof_test.cc

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/quic/crypto/proof_source_chromium.h ('k') | net/quic/crypto/proof_verifier_chromium.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) 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 #include "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "net/base/net_errors.h" 6 #include "net/base/net_errors.h"
7 #include "net/base/test_completion_callback.h" 7 #include "net/base/test_completion_callback.h"
8 #include "net/base/test_data_directory.h" 8 #include "net/base/test_data_directory.h"
9 #include "net/cert/cert_status_flags.h" 9 #include "net/cert/cert_status_flags.h"
10 #include "net/cert/cert_verify_result.h" 10 #include "net/cert/cert_verify_result.h"
(...skipping 22 matching lines...) Expand all
33 public: 33 public:
34 TestProofVerifierCallback(TestCompletionCallback* comp_callback, 34 TestProofVerifierCallback(TestCompletionCallback* comp_callback,
35 bool* ok, 35 bool* ok,
36 string* error_details) 36 string* error_details)
37 : comp_callback_(comp_callback), 37 : comp_callback_(comp_callback),
38 ok_(ok), 38 ok_(ok),
39 error_details_(error_details) {} 39 error_details_(error_details) {}
40 40
41 virtual void Run(bool ok, 41 virtual void Run(bool ok,
42 const string& error_details, 42 const string& error_details,
43 scoped_ptr<ProofVerifyDetails>* details) OVERRIDE { 43 scoped_ptr<ProofVerifyDetails>* details) override {
44 *ok_ = ok; 44 *ok_ = ok;
45 *error_details_ = error_details; 45 *error_details_ = error_details;
46 46
47 comp_callback_->callback().Run(0); 47 comp_callback_->callback().Run(0);
48 } 48 }
49 49
50 private: 50 private:
51 TestCompletionCallback* const comp_callback_; 51 TestCompletionCallback* const comp_callback_;
52 bool* const ok_; 52 bool* const ok_;
53 string* const error_details_; 53 string* const error_details_;
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 wrong_certs.push_back(certs[i]); 362 wrong_certs.push_back(certs[i]);
363 } 363 }
364 RunVerification( 364 RunVerification(
365 verifier.get(), hostname, server_config, wrong_certs, signature, 365 verifier.get(), hostname, server_config, wrong_certs, signature,
366 false); 366 false);
367 } 367 }
368 } 368 }
369 369
370 } // namespace test 370 } // namespace test
371 } // namespace net 371 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/crypto/proof_source_chromium.h ('k') | net/quic/crypto/proof_verifier_chromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698