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

Side by Side Diff: net/quic/test_tools/mock_crypto_client_stream.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
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_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_H_
6 #define NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_H_ 6 #define NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/quic/crypto/crypto_handshake.h" 10 #include "net/quic/crypto/crypto_handshake.h"
(...skipping 28 matching lines...) Expand all
39 const QuicServerId& server_id, 39 const QuicServerId& server_id,
40 QuicClientSessionBase* session, 40 QuicClientSessionBase* session,
41 ProofVerifyContext* verify_context, 41 ProofVerifyContext* verify_context,
42 QuicCryptoClientConfig* crypto_config, 42 QuicCryptoClientConfig* crypto_config,
43 HandshakeMode handshake_mode, 43 HandshakeMode handshake_mode,
44 const ProofVerifyDetails* proof_verify_details_); 44 const ProofVerifyDetails* proof_verify_details_);
45 virtual ~MockCryptoClientStream(); 45 virtual ~MockCryptoClientStream();
46 46
47 // CryptoFramerVisitorInterface implementation. 47 // CryptoFramerVisitorInterface implementation.
48 virtual void OnHandshakeMessage( 48 virtual void OnHandshakeMessage(
49 const CryptoHandshakeMessage& message) OVERRIDE; 49 const CryptoHandshakeMessage& message) override;
50 50
51 // QuicCryptoClientStream implementation. 51 // QuicCryptoClientStream implementation.
52 virtual bool CryptoConnect() OVERRIDE; 52 virtual bool CryptoConnect() override;
53 53
54 // Invokes the sessions's CryptoHandshakeEvent method with the specified 54 // Invokes the sessions's CryptoHandshakeEvent method with the specified
55 // event. 55 // event.
56 void SendOnCryptoHandshakeEvent(QuicSession::CryptoHandshakeEvent event); 56 void SendOnCryptoHandshakeEvent(QuicSession::CryptoHandshakeEvent event);
57 57
58 HandshakeMode handshake_mode_; 58 HandshakeMode handshake_mode_;
59 59
60 private: 60 private:
61 void SetConfigNegotiated(); 61 void SetConfigNegotiated();
62 QuicClientSessionBase* client_session(); 62 QuicClientSessionBase* client_session();
63 63
64 const ProofVerifyDetails* proof_verify_details_; 64 const ProofVerifyDetails* proof_verify_details_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(MockCryptoClientStream); 66 DISALLOW_COPY_AND_ASSIGN(MockCryptoClientStream);
67 }; 67 };
68 68
69 } // namespace net 69 } // namespace net
70 70
71 #endif // NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_H_ 71 #endif // NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/mock_clock.h ('k') | net/quic/test_tools/mock_crypto_client_stream_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698