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

Unified Diff: net/tools/quic/test_tools/quic_test_utils.h

Issue 127633002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/quic/test_tools/quic_dispatcher_peer.cc ('k') | net/tools/quic/test_tools/server_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_test_utils.h
diff --git a/net/tools/quic/test_tools/quic_test_utils.h b/net/tools/quic/test_tools/quic_test_utils.h
index 682c2d9b0013f6a968be2ea602c5d9e553f69b43..a263747c358301f2195cf152d1ff0ac44f32bec2 100644
--- a/net/tools/quic/test_tools/quic_test_utils.h
+++ b/net/tools/quic/test_tools/quic_test_utils.h
@@ -124,6 +124,8 @@ class MockPacketWriter : public QuicPacketWriter {
const IPEndPoint& peer_address,
QuicBlockedWriterInterface* blocked_writer));
MOCK_CONST_METHOD0(IsWriteBlockedDataBuffered, bool());
+ MOCK_CONST_METHOD0(IsWriteBlocked, bool());
+ MOCK_METHOD0(SetWritable, void());
};
class MockQuicSessionOwner : public QuicSessionOwner {
@@ -150,9 +152,12 @@ class TestDecompressorVisitor : public QuicSpdyDecompressor::Visitor {
class MockAckNotifierDelegate : public QuicAckNotifier::DelegateInterface {
public:
MockAckNotifierDelegate();
- virtual ~MockAckNotifierDelegate();
MOCK_METHOD0(OnAckNotification, void());
+
+ protected:
+ // Object is ref counted.
+ virtual ~MockAckNotifierDelegate();
};
} // namespace test
« no previous file with comments | « net/tools/quic/test_tools/quic_dispatcher_peer.cc ('k') | net/tools/quic/test_tools/server_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698