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

Side by Side Diff: webrtc/p2p/client/connectivitychecker.cc

Issue 1308753003: Revert "Reland "Remove GICE (gone forever!) and PORTALLOCATOR_ENABLE_SHARED_UFRAG (enabled forever)… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: try to solve a failure Created 5 years, 4 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 | « webrtc/p2p/client/basicportallocator.cc ('k') | webrtc/p2p/client/fakeportallocator.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 /* 1 /*
2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2011 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 nics_.clear(); 108 nics_.clear();
109 main_->Clear(this, MSG_SIGNAL_RESULTS); 109 main_->Clear(this, MSG_SIGNAL_RESULTS);
110 } 110 }
111 } 111 }
112 112
113 bool ConnectivityChecker::Initialize() { 113 bool ConnectivityChecker::Initialize() {
114 network_manager_.reset(CreateNetworkManager()); 114 network_manager_.reset(CreateNetworkManager());
115 socket_factory_.reset(CreateSocketFactory(worker_)); 115 socket_factory_.reset(CreateSocketFactory(worker_));
116 port_allocator_.reset(CreatePortAllocator(network_manager_.get(), 116 port_allocator_.reset(CreatePortAllocator(network_manager_.get(),
117 user_agent_, relay_token_)); 117 user_agent_, relay_token_));
118 uint32 new_allocator_flags = port_allocator_->flags();
119 new_allocator_flags |= cricket::PORTALLOCATOR_ENABLE_SHARED_UFRAG;
120 port_allocator_->set_flags(new_allocator_flags);
118 return true; 121 return true;
119 } 122 }
120 123
121 void ConnectivityChecker::Start() { 124 void ConnectivityChecker::Start() {
122 main_ = rtc::Thread::Current(); 125 main_ = rtc::Thread::Current();
123 worker_->Post(this, MSG_START); 126 worker_->Post(this, MSG_START);
124 started_ = true; 127 started_ = true;
125 } 128 }
126 129
127 void ConnectivityChecker::CleanUp() { 130 void ConnectivityChecker::CleanUp() {
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 nic_info->https.start_time_ms = now; 523 nic_info->https.start_time_ms = now;
521 } else { 524 } else {
522 LOG(LS_ERROR) << "Registering start time for unknown port: " << port; 525 LOG(LS_ERROR) << "Registering start time for unknown port: " << port;
523 } 526 }
524 } else { 527 } else {
525 LOG(LS_ERROR) << "Error, no nic info found while registering http start."; 528 LOG(LS_ERROR) << "Error, no nic info found while registering http start.";
526 } 529 }
527 } 530 }
528 531
529 } // namespace rtc 532 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/p2p/client/basicportallocator.cc ('k') | webrtc/p2p/client/fakeportallocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698