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

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

Issue 23464033: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix valgrind error Created 7 years, 3 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/quic_connection_peer.cc ('k') | net/quic/test_tools/quic_test_utils.cc » ('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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 virtual void OnDecompressionError() OVERRIDE; 359 virtual void OnDecompressionError() OVERRIDE;
360 360
361 string data() { return data_; } 361 string data() { return data_; }
362 bool error() { return error_; } 362 bool error() { return error_; }
363 363
364 private: 364 private:
365 string data_; 365 string data_;
366 bool error_; 366 bool error_;
367 }; 367 };
368 368
369 class MockAckNotifierDelegate : public QuicAckNotifier::DelegateInterface {
370 public:
371 MockAckNotifierDelegate();
372 virtual ~MockAckNotifierDelegate();
373
374 MOCK_METHOD0(OnAckNotification, void());
375 };
376
369 } // namespace test 377 } // namespace test
370 } // namespace net 378 } // namespace net
371 379
372 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 380 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_connection_peer.cc ('k') | net/quic/test_tools/quic_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698