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

Side by Side Diff: content/child/socket_stream_dispatcher.h

Issue 630743005: Replace OVERRIDE and FINAL with override and final in content/child/[a-s]* (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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_CHILD_SOCKET_STREAM_DISPATCHER_H_ 5 #ifndef CONTENT_CHILD_SOCKET_STREAM_DISPATCHER_H_
6 #define CONTENT_CHILD_SOCKET_STREAM_DISPATCHER_H_ 6 #define CONTENT_CHILD_SOCKET_STREAM_DISPATCHER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 16 matching lines...) Expand all
27 class SocketStreamDispatcher : public IPC::Listener { 27 class SocketStreamDispatcher : public IPC::Listener {
28 public: 28 public:
29 SocketStreamDispatcher(); 29 SocketStreamDispatcher();
30 virtual ~SocketStreamDispatcher() {} 30 virtual ~SocketStreamDispatcher() {}
31 31
32 static WebSocketStreamHandleBridge* CreateBridge( 32 static WebSocketStreamHandleBridge* CreateBridge(
33 blink::WebSocketStreamHandle* handle, 33 blink::WebSocketStreamHandle* handle,
34 WebSocketStreamHandleDelegate* delegate); 34 WebSocketStreamHandleDelegate* delegate);
35 35
36 // IPC::Listener implementation. 36 // IPC::Listener implementation.
37 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 37 virtual bool OnMessageReceived(const IPC::Message& msg) override;
38 38
39 private: 39 private:
40 void OnConnected(int socket_id, int max_amount_send_allowed); 40 void OnConnected(int socket_id, int max_amount_send_allowed);
41 void OnSentData(int socket_id, int amount_sent); 41 void OnSentData(int socket_id, int amount_sent);
42 void OnReceivedData(int socket_id, const std::vector<char>& data); 42 void OnReceivedData(int socket_id, const std::vector<char>& data);
43 void OnClosed(int socket_id); 43 void OnClosed(int socket_id);
44 void OnFailed(int socket_id, int error_code); 44 void OnFailed(int socket_id, int error_code);
45 45
46 DISALLOW_COPY_AND_ASSIGN(SocketStreamDispatcher); 46 DISALLOW_COPY_AND_ASSIGN(SocketStreamDispatcher);
47 }; 47 };
48 48
49 } // namespace content 49 } // namespace content
50 50
51 #endif // CONTENT_CHILD_SOCKET_STREAM_DISPATCHER_H_ 51 #endif // CONTENT_CHILD_SOCKET_STREAM_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/child/site_isolation_policy_browsertest.cc ('k') | content/child/socket_stream_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698