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

Unified Diff: mojo/spy/websocket_server.h

Issue 619493002: Mojo: Convert OVERRIDE -> override in various subdirectories of mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: mojo/spy/websocket_server.h
diff --git a/mojo/spy/websocket_server.h b/mojo/spy/websocket_server.h
index 272d6829735eb98dcbabceba7ca013c61c2bfc6c..c6dc07696828892d9569b8e1dc8cf8b45ae03849 100644
--- a/mojo/spy/websocket_server.h
+++ b/mojo/spy/websocket_server.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/macros.h"
#include "mojo/spy/common.h"
#include "mojo/spy/public/spy.mojom.h"
#include "net/server/http_server.h"
@@ -38,26 +39,26 @@ class WebSocketServer : public net::HttpServer::Delegate,
protected:
// Overridden from net::HttpServer::Delegate.
- virtual void OnConnect(int connection_id) OVERRIDE {}
+ virtual void OnConnect(int connection_id) override {}
virtual void OnHttpRequest(
int connection_id,
- const net::HttpServerRequestInfo& info) OVERRIDE;
+ const net::HttpServerRequestInfo& info) override;
virtual void OnWebSocketRequest(
int connection_id,
- const net::HttpServerRequestInfo& info) OVERRIDE;
+ const net::HttpServerRequestInfo& info) override;
virtual void OnWebSocketMessage(
int connection_id,
- const std::string& data) OVERRIDE;
- virtual void OnClose(int connection_id) OVERRIDE;
+ const std::string& data) override;
+ virtual void OnClose(int connection_id) override;
// Overriden form spy_api::SpyClient.
- virtual void OnFatalError(spy_api::Result result) OVERRIDE;
- virtual void OnSessionEnd(spy_api::Result result) OVERRIDE;
+ virtual void OnFatalError(spy_api::Result result) override;
+ virtual void OnSessionEnd(spy_api::Result result) override;
virtual void OnClientConnection(
const mojo::String& name,
uint32_t id,
- spy_api::ConnectionOptions options) OVERRIDE;
- virtual void OnMessage(spy_api::MessagePtr message) OVERRIDE;
+ spy_api::ConnectionOptions options) override;
+ virtual void OnMessage(spy_api::MessagePtr message) override;
// Callbacks from calling spy_api::SpyServer.
void OnStartSession(spy_api::Result, mojo::String);
« mojo/application_manager/application_loader.h ('K') | « mojo/spy/spy_server_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698