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

Side by Side Diff: content/child/websocket_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
« no previous file with comments | « content/child/websocket_bridge.h ('k') | content/child/webthread_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_WEBSOCKET_DISPATCHER_H_ 5 #ifndef CONTENT_CHILD_WEBSOCKET_DISPATCHER_H_
6 #define CONTENT_CHILD_WEBSOCKET_DISPATCHER_H_ 6 #define CONTENT_CHILD_WEBSOCKET_DISPATCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 14 matching lines...) Expand all
25 class WebSocketDispatcher : public IPC::Listener { 25 class WebSocketDispatcher : public IPC::Listener {
26 public: 26 public:
27 WebSocketDispatcher(); 27 WebSocketDispatcher();
28 virtual ~WebSocketDispatcher(); 28 virtual ~WebSocketDispatcher();
29 29
30 // Returns a unique channel id 30 // Returns a unique channel id
31 int AddBridge(WebSocketBridge* bridge); 31 int AddBridge(WebSocketBridge* bridge);
32 void RemoveBridge(int channel_id); 32 void RemoveBridge(int channel_id);
33 33
34 // IPC::Listener implementation. 34 // IPC::Listener implementation.
35 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 35 virtual bool OnMessageReceived(const IPC::Message& msg) override;
36 36
37 private: 37 private:
38 WebSocketBridge* GetBridge(int channel_id, uint32 type); 38 WebSocketBridge* GetBridge(int channel_id, uint32 type);
39 39
40 std::map<int, WebSocketBridge*> bridges_; 40 std::map<int, WebSocketBridge*> bridges_;
41 int channel_id_max_; 41 int channel_id_max_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(WebSocketDispatcher); 43 DISALLOW_COPY_AND_ASSIGN(WebSocketDispatcher);
44 }; 44 };
45 45
46 } // namespace content 46 } // namespace content
47 47
48 #endif // CONTENT_CHILD_WEBSOCKET_DISPATCHER_H_ 48 #endif // CONTENT_CHILD_WEBSOCKET_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/child/websocket_bridge.h ('k') | content/child/webthread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698