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

Side by Side Diff: media/cast/test/utility/udp_proxy.h

Issue 703893004: Implement IPP model support in udp_proxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 6 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
« no previous file with comments | « no previous file | media/cast/test/utility/udp_proxy.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MEDIA_CAST_TEST_UTILITY_UDP_PROXY_H_ 5 #ifndef MEDIA_CAST_TEST_UTILITY_UDP_PROXY_H_
6 #define MEDIA_CAST_TEST_UTILITY_UDP_PROXY_H_ 6 #define MEDIA_CAST_TEST_UTILITY_UDP_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // This method builds a stack of PacketPipes to emulate a 173 // This method builds a stack of PacketPipes to emulate a
174 // bad wifi network. ~5mbit, 5% packet loss, ~7ms latency 174 // bad wifi network. ~5mbit, 5% packet loss, ~7ms latency
175 // 40ms dropouts every ~2 seconds. Can reorder packets. 175 // 40ms dropouts every ~2 seconds. Can reorder packets.
176 scoped_ptr<PacketPipe> BadNetwork(); 176 scoped_ptr<PacketPipe> BadNetwork();
177 177
178 // This method builds a stack of PacketPipes to emulate a crappy wifi network. 178 // This method builds a stack of PacketPipes to emulate a crappy wifi network.
179 // ~2mbit, 20% packet loss, ~40ms latency and packets can get reordered. 179 // ~2mbit, 20% packet loss, ~40ms latency and packets can get reordered.
180 // 300ms drouputs every ~2 seconds. 180 // 300ms drouputs every ~2 seconds.
181 scoped_ptr<PacketPipe> EvilNetwork(); 181 scoped_ptr<PacketPipe> EvilNetwork();
182 182
183 // Builds an Interrupted Poisson Process network simulator with default
184 // settings. It simulates a challenging interference-heavy WiFi environment
185 // of roughly 2mbits/s.
186 scoped_ptr<InterruptedPoissonProcess> DefaultInterruptedPoissonProcess();
187
183 } // namespace test 188 } // namespace test
184 } // namespace cast 189 } // namespace cast
185 } // namespace media 190 } // namespace media
186 191
187 #endif // MEDIA_CAST_TEST_UTILITY_UDP_PROXY_H_ 192 #endif // MEDIA_CAST_TEST_UTILITY_UDP_PROXY_H_
OLDNEW
« no previous file with comments | « no previous file | media/cast/test/utility/udp_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698