Revert "Omit calls to set composing region when pasting image."
[chromium-blink-merge.git] / media / cast / test / utility / net_utility.h
blobc1199be7a873f9f623c593915585ed13ca684460
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
3 // found in the LICENSE file.
5 #include "net/base/ip_endpoint.h"
7 namespace media {
8 namespace cast {
9 namespace test {
11 // Determine a unused UDP port for the in-process receiver to listen on.
12 // Method: Bind a UDP socket on port 0, and then check which port the
13 // operating system assigned to it.
14 net::IPEndPoint GetFreeLocalPort();
16 } // namespace test
17 } // namespace cast
18 } // namespace media