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

Unified Diff: net/websockets/websocket_job.h

Issue 8568021: Add OVERRIDE to net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: net only Created 9 years, 1 month 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/url_request/url_request_throttler_header_adapter.h ('k') | net/websockets/websocket_net_log_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_job.h
diff --git a/net/websockets/websocket_job.h b/net/websockets/websocket_job.h
index f3c0ab18b7ff5bc1bb9160096cd9f4c8ef814d39..4df3315d17eca672e3803fac928f24b5050195a7 100644
--- a/net/websockets/websocket_job.h
+++ b/net/websockets/websocket_job.h
@@ -53,31 +53,34 @@ class NET_EXPORT WebSocketJob
static void set_websocket_over_spdy_enabled(bool enabled);
State state() const { return state_; }
- virtual void Connect();
- virtual bool SendData(const char* data, int len);
- virtual void Close();
- virtual void RestartWithAuth(const AuthCredentials& credentials);
- virtual void DetachDelegate();
+ virtual void Connect() OVERRIDE;
+ virtual bool SendData(const char* data, int len) OVERRIDE;
+ virtual void Close() OVERRIDE;
+ virtual void RestartWithAuth(const AuthCredentials& credentials) OVERRIDE;
+ virtual void DetachDelegate() OVERRIDE;
// SocketStream::Delegate methods.
virtual int OnStartOpenConnection(
- SocketStream* socket, OldCompletionCallback* callback);
- virtual void OnConnected(SocketStream* socket, int max_pending_send_allowed);
- virtual void OnSentData(SocketStream* socket, int amount_sent);
- virtual void OnReceivedData(SocketStream* socket, const char* data, int len);
- virtual void OnClose(SocketStream* socket);
+ SocketStream* socket, OldCompletionCallback* callback) OVERRIDE;
+ virtual void OnConnected(SocketStream* socket,
+ int max_pending_send_allowed) OVERRIDE;
+ virtual void OnSentData(SocketStream* socket, int amount_sent) OVERRIDE;
+ virtual void OnReceivedData(SocketStream* socket,
+ const char* data,
+ int len) OVERRIDE;
+ virtual void OnClose(SocketStream* socket) OVERRIDE;
virtual void OnAuthRequired(
- SocketStream* socket, AuthChallengeInfo* auth_info);
- virtual void OnError(const SocketStream* socket, int error);
+ SocketStream* socket, AuthChallengeInfo* auth_info) OVERRIDE;
+ virtual void OnError(const SocketStream* socket, int error) OVERRIDE;
// SpdyWebSocketStream::Delegate methods.
- virtual void OnCreatedSpdyStream(int status);
- virtual void OnSentSpdyHeaders(int status);
+ virtual void OnCreatedSpdyStream(int status) OVERRIDE;
+ virtual void OnSentSpdyHeaders(int status) OVERRIDE;
virtual int OnReceivedSpdyResponseHeader(
- const spdy::SpdyHeaderBlock& headers, int status);
- virtual void OnSentSpdyData(int amount_sent);
- virtual void OnReceivedSpdyData(const char* data, int length);
- virtual void OnCloseSpdyStream();
+ const spdy::SpdyHeaderBlock& headers, int status) OVERRIDE;
+ virtual void OnSentSpdyData(int amount_sent) OVERRIDE;
+ virtual void OnReceivedSpdyData(const char* data, int length) OVERRIDE;
+ virtual void OnCloseSpdyStream() OVERRIDE;
private:
friend class WebSocketThrottle;
« no previous file with comments | « net/url_request/url_request_throttler_header_adapter.h ('k') | net/websockets/websocket_net_log_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698