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

Side by Side Diff: content/renderer/p2p/socket_dispatcher.h

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // P2PSocketDispatcher is a per-renderer object that dispatchers all 5 // P2PSocketDispatcher is a per-renderer object that dispatchers all
6 // P2P messages received from the browser and relays all P2P messages 6 // P2P messages received from the browser and relays all P2P messages
7 // sent to the browser. P2PSocketClient instances register themselves 7 // sent to the browser. P2PSocketClient instances register themselves
8 // with the dispatcher using RegisterClient() and UnregisterClient(). 8 // with the dispatcher using RegisterClient() and UnregisterClient().
9 // 9 //
10 // Relationship of classes. 10 // Relationship of classes.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 // Add a new network list observer. Each observer is called 70 // Add a new network list observer. Each observer is called
71 // immidiately after its't registered and then later whenever 71 // immidiately after its't registered and then later whenever
72 // network configuration changes. 72 // network configuration changes.
73 void AddNetworkListObserver(NetworkListObserver* network_list_observer); 73 void AddNetworkListObserver(NetworkListObserver* network_list_observer);
74 74
75 // Removes network list observer. 75 // Removes network list observer.
76 void RemoveNetworkListObserver(NetworkListObserver* network_list_observer); 76 void RemoveNetworkListObserver(NetworkListObserver* network_list_observer);
77 77
78 // RenderViewObserver overrides. 78 // RenderViewObserver overrides.
79 virtual bool OnMessageReceived(const IPC::Message& message); 79 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
80 80
81 private: 81 private:
82 friend class P2PHostAddressRequest; 82 friend class P2PHostAddressRequest;
83 friend class P2PSocketClient; 83 friend class P2PSocketClient;
84 class AsyncMessageSender; 84 class AsyncMessageSender;
85 85
86 base::MessageLoopProxy* message_loop(); 86 base::MessageLoopProxy* message_loop();
87 87
88 // Called by P2PSocketClient. 88 // Called by P2PSocketClient.
89 int RegisterClient(P2PSocketClient* client); 89 int RegisterClient(P2PSocketClient* client);
(...skipping 26 matching lines...) Expand all
116 network_list_observers_; 116 network_list_observers_;
117 117
118 scoped_refptr<AsyncMessageSender> async_message_sender_; 118 scoped_refptr<AsyncMessageSender> async_message_sender_;
119 119
120 DISALLOW_COPY_AND_ASSIGN(P2PSocketDispatcher); 120 DISALLOW_COPY_AND_ASSIGN(P2PSocketDispatcher);
121 }; 121 };
122 122
123 } // namespace content 123 } // namespace content
124 124
125 #endif // CONTENT_RENDERER_P2P_SOCKET_DISPATCHER_H_ 125 #endif // CONTENT_RENDERER_P2P_SOCKET_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/renderer/p2p/ipc_socket_factory.h ('k') | content/renderer/pepper_platform_context_3d_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698