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

Unified Diff: net/quic/quic_stream_factory_test.cc

Issue 817653003: Update from https://crrev.com/309717 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/quic/crypto/quic_server_info.cc ('k') | net/socket/socket_test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_factory_test.cc
diff --git a/net/quic/quic_stream_factory_test.cc b/net/quic/quic_stream_factory_test.cc
index b386527e5ec822919f4c6afb2d3435994616dd3f..67782368f12afad5ee0b78a4b41d097ffec2eb60 100644
--- a/net/quic/quic_stream_factory_test.cc
+++ b/net/quic/quic_stream_factory_test.cc
@@ -106,31 +106,31 @@ class MockQuicServerInfo : public QuicServerInfo {
public:
MockQuicServerInfo(const QuicServerId& server_id)
: QuicServerInfo(server_id) {}
- virtual ~MockQuicServerInfo() {}
+ ~MockQuicServerInfo() override {}
- virtual void Start() override {};
+ void Start() override {}
- virtual int WaitForDataReady(const CompletionCallback& callback) override {
+ int WaitForDataReady(const CompletionCallback& callback) override {
return ERR_IO_PENDING;
}
- virtual void CancelWaitForDataReadyCallback() override {}
+ void CancelWaitForDataReadyCallback() override {}
- virtual bool IsDataReady() override { return false; }
+ bool IsDataReady() override { return false; }
- virtual bool IsReadyToPersist() override { return false; }
+ bool IsReadyToPersist() override { return false; }
- virtual void Persist() override {};
+ void Persist() override {}
- virtual void OnExternalCacheHit() override {};
+ void OnExternalCacheHit() override {}
};
class MockQuicServerInfoFactory : public QuicServerInfoFactory {
public:
MockQuicServerInfoFactory() {}
- virtual ~MockQuicServerInfoFactory() {}
+ ~MockQuicServerInfoFactory() override {}
- virtual QuicServerInfo* GetForServer(const QuicServerId& server_id) override {
+ QuicServerInfo* GetForServer(const QuicServerId& server_id) override {
return new MockQuicServerInfo(server_id);
}
};
« no previous file with comments | « net/quic/crypto/quic_server_info.cc ('k') | net/socket/socket_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698