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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc

Issue 2675523003: Get rid of unqualified std:: types. (Closed)
Patch Set: Created 3 years, 10 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/modules/pacing/paced_sender.cc ('k') | no next file » | 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 (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 case kReceiver: 129 case kReceiver:
130 receivers_.push_back(static_cast<PacketReceiver*>(processor)); 130 receivers_.push_back(static_cast<PacketReceiver*>(processor));
131 break; 131 break;
132 case kRegular: 132 case kRegular:
133 break; 133 break;
134 } 134 }
135 processors_.push_back(PacketProcessorRunner(processor)); 135 processors_.push_back(PacketProcessorRunner(processor));
136 } 136 }
137 137
138 void Link::RemovePacketProcessor(PacketProcessor* processor) { 138 void Link::RemovePacketProcessor(PacketProcessor* processor) {
139 for (vector<PacketProcessorRunner>::iterator it = processors_.begin(); 139 for (std::vector<PacketProcessorRunner>::iterator it = processors_.begin();
140 it != processors_.end(); ++it) { 140 it != processors_.end(); ++it) {
141 if (it->RunsProcessor(processor)) { 141 if (it->RunsProcessor(processor)) {
142 processors_.erase(it); 142 processors_.erase(it);
143 return; 143 return;
144 } 144 }
145 } 145 }
146 assert(false); 146 assert(false);
147 } 147 }
148 148
149 // Ownership of the created packets is handed over to the caller. 149 // Ownership of the created packets is handed over to the caller.
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 tcp_starting_times_ms.push_back( 974 tcp_starting_times_ms.push_back(
975 static_cast<int64_t>(random.Exponential(1.0f / kMeanMs))); 975 static_cast<int64_t>(random.Exponential(1.0f / kMeanMs)));
976 } 976 }
977 977
978 return tcp_starting_times_ms; 978 return tcp_starting_times_ms;
979 } 979 }
980 980
981 } // namespace bwe 981 } // namespace bwe
982 } // namespace testing 982 } // namespace testing
983 } // namespace webrtc 983 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/pacing/paced_sender.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698