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

Side by Side Diff: net/quic/test_tools/quic_test_utils.h

Issue 126243002: Add the override annotation to all necessary methods in .../quic/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed OVERRIDE on virtual destructor Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/test_tools/mock_crypto_client_stream_factory.h ('k') | net/tools/quic/quic_client.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 // Common utilities for Quic tests 5 // Common utilities for Quic tests
6 6
7 #ifndef NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 7 #ifndef NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
8 #define NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 8 #define NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 private: 81 private:
82 SaveType* name_; 82 SaveType* name_;
83 SaveType value_; 83 SaveType value_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(ValueRestore); 85 DISALLOW_COPY_AND_ASSIGN(ValueRestore);
86 }; 86 };
87 87
88 class MockFramerVisitor : public QuicFramerVisitorInterface { 88 class MockFramerVisitor : public QuicFramerVisitorInterface {
89 public: 89 public:
90 MockFramerVisitor(); 90 MockFramerVisitor();
91 ~MockFramerVisitor(); 91 virtual ~MockFramerVisitor();
92 92
93 MOCK_METHOD1(OnError, void(QuicFramer* framer)); 93 MOCK_METHOD1(OnError, void(QuicFramer* framer));
94 // The constructor sets this up to return false by default. 94 // The constructor sets this up to return false by default.
95 MOCK_METHOD1(OnProtocolVersionMismatch, bool(QuicVersion version)); 95 MOCK_METHOD1(OnProtocolVersionMismatch, bool(QuicVersion version));
96 MOCK_METHOD0(OnPacket, void()); 96 MOCK_METHOD0(OnPacket, void());
97 MOCK_METHOD1(OnPublicResetPacket, void(const QuicPublicResetPacket& header)); 97 MOCK_METHOD1(OnPublicResetPacket, void(const QuicPublicResetPacket& header));
98 MOCK_METHOD1(OnVersionNegotiationPacket, 98 MOCK_METHOD1(OnVersionNegotiationPacket,
99 void(const QuicVersionNegotiationPacket& packet)); 99 void(const QuicVersionNegotiationPacket& packet));
100 MOCK_METHOD0(OnRevivedPacket, void()); 100 MOCK_METHOD0(OnRevivedPacket, void());
101 // The constructor sets this up to return true by default. 101 // The constructor sets this up to return true by default.
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 MockAckNotifierDelegate(); 463 MockAckNotifierDelegate();
464 virtual ~MockAckNotifierDelegate(); 464 virtual ~MockAckNotifierDelegate();
465 465
466 MOCK_METHOD0(OnAckNotification, void()); 466 MOCK_METHOD0(OnAckNotification, void());
467 }; 467 };
468 468
469 } // namespace test 469 } // namespace test
470 } // namespace net 470 } // namespace net
471 471
472 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 472 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/mock_crypto_client_stream_factory.h ('k') | net/tools/quic/quic_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698