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

Side by Side Diff: chrome/renderer/p2p/ipc_network_manager.cc

Issue 6673090: Move core renderer subdirectories to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/p2p/ipc_network_manager.h ('k') | chrome/renderer/p2p/ipc_socket_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/renderer/p2p/ipc_network_manager.h"
6
7 IpcNetworkManager::IpcNetworkManager(P2PSocketDispatcher* socket_dispatcher)
8 : socket_dispatcher_(socket_dispatcher) {
9 }
10
11 IpcNetworkManager::~IpcNetworkManager() {
12 }
13
14 // TODO(sergeyu): Currently this method just adds one fake network in
15 // the list. This doesn't prevent PortAllocator from allocating ports:
16 // browser process chooses first IPv4-enabled interface. But this
17 // approach will not work in case when there is more than one active
18 // network interface. Implement this properly: get list of networks
19 // from the browser.
20 bool IpcNetworkManager::EnumNetworks(
21 bool include_ignored, std::vector<talk_base::Network*>* networks) {
22 networks->push_back(new talk_base::Network(
23 "chrome", "Chrome virtual network", 0, 0));
24 return true;
25 }
OLDNEW
« no previous file with comments | « chrome/renderer/p2p/ipc_network_manager.h ('k') | chrome/renderer/p2p/ipc_socket_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698