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

Unified Diff: net/socket/socket_test_util.h

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/quic_stream_factory_test.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_test_util.h
diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h
index 7b45c0c1f5aa074769da8ee14639bd3a368b8b19..55e269c474dcf8a2576624e81192095580ea710d 100644
--- a/net/socket/socket_test_util.h
+++ b/net/socket/socket_test_util.h
@@ -293,7 +293,7 @@ class DynamicSocketDataProvider : public SocketDataProvider {
// SocketDataProvider implementation.
MockRead GetNextRead() override;
- virtual MockWriteResult OnWrite(const std::string& data) = 0;
+ MockWriteResult OnWrite(const std::string& data) override = 0;
void Reset() override;
protected:
@@ -682,17 +682,17 @@ class MockClientSocket : public SSLClientSocket {
explicit MockClientSocket(const BoundNetLog& net_log);
// Socket implementation.
- virtual int Read(IOBuffer* buf,
- int buf_len,
- const CompletionCallback& callback) = 0;
- virtual int Write(IOBuffer* buf,
- int buf_len,
- const CompletionCallback& callback) = 0;
+ int Read(IOBuffer* buf,
+ int buf_len,
+ const CompletionCallback& callback) override = 0;
+ int Write(IOBuffer* buf,
+ int buf_len,
+ const CompletionCallback& callback) override = 0;
int SetReceiveBufferSize(int32 size) override;
int SetSendBufferSize(int32 size) override;
// StreamSocket implementation.
- virtual int Connect(const CompletionCallback& callback) = 0;
+ int Connect(const CompletionCallback& callback) override = 0;
void Disconnect() override;
bool IsConnected() const override;
bool IsConnectedAndIdle() const override;
« no previous file with comments | « net/quic/quic_stream_factory_test.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698