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

Unified Diff: content/child/web_socket_stream_handle_impl.cc

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « content/child/threaded_data_provider.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_socket_stream_handle_impl.cc
diff --git a/content/child/web_socket_stream_handle_impl.cc b/content/child/web_socket_stream_handle_impl.cc
index 6f39be6fb9ba9a2c83dab9c02d88a9a9b5ebb328..de66aeb8e2a83de9e221347f9cc42f289410a315 100644
--- a/content/child/web_socket_stream_handle_impl.cc
+++ b/content/child/web_socket_stream_handle_impl.cc
@@ -52,19 +52,15 @@ class WebSocketStreamHandleImpl::Context
void Detach();
// WebSocketStreamHandleDelegate methods:
- virtual void DidOpenStream(WebSocketStreamHandle*, int) override;
- virtual void DidSendData(WebSocketStreamHandle*, int) override;
- virtual void DidReceiveData(WebSocketStreamHandle*,
- const char*,
- int) override;
- virtual void DidClose(WebSocketStreamHandle*) override;
- virtual void DidFail(WebSocketStreamHandle*,
- int,
- const base::string16&) override;
+ void DidOpenStream(WebSocketStreamHandle*, int) override;
+ void DidSendData(WebSocketStreamHandle*, int) override;
+ void DidReceiveData(WebSocketStreamHandle*, const char*, int) override;
+ void DidClose(WebSocketStreamHandle*) override;
+ void DidFail(WebSocketStreamHandle*, int, const base::string16&) override;
private:
friend class base::RefCounted<Context>;
- virtual ~Context() {
+ ~Context() override {
DCHECK(!handle_);
DCHECK(!client_);
DCHECK(!bridge_.get());
« no previous file with comments | « content/child/threaded_data_provider.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698