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

Side by Side Diff: chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc

Issue 2508593002: net: move udp directory into socket (Closed)
Patch Set: revert sys/socket.h change Created 4 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 | chrome/browser/extensions/api/cast_streaming/performance_test.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <cmath> 9 #include <cmath>
10 #include <memory> 10 #include <memory>
(...skipping 14 matching lines...) Expand all
25 #include "media/cast/cast_config.h" 25 #include "media/cast/cast_config.h"
26 #include "media/cast/cast_environment.h" 26 #include "media/cast/cast_environment.h"
27 #include "media/cast/test/utility/audio_utility.h" 27 #include "media/cast/test/utility/audio_utility.h"
28 #include "media/cast/test/utility/default_config.h" 28 #include "media/cast/test/utility/default_config.h"
29 #include "media/cast/test/utility/in_process_receiver.h" 29 #include "media/cast/test/utility/in_process_receiver.h"
30 #include "media/cast/test/utility/net_utility.h" 30 #include "media/cast/test/utility/net_utility.h"
31 #include "media/cast/test/utility/standalone_cast_environment.h" 31 #include "media/cast/test/utility/standalone_cast_environment.h"
32 #include "net/base/net_errors.h" 32 #include "net/base/net_errors.h"
33 #include "net/base/rand_callback.h" 33 #include "net/base/rand_callback.h"
34 #include "net/log/net_log_source.h" 34 #include "net/log/net_log_source.h"
35 #include "net/udp/udp_server_socket.h" 35 #include "net/socket/udp_server_socket.h"
36 #include "testing/gtest/include/gtest/gtest.h" 36 #include "testing/gtest/include/gtest/gtest.h"
37 37
38 using media::cast::test::GetFreeLocalPort; 38 using media::cast::test::GetFreeLocalPort;
39 39
40 namespace extensions { 40 namespace extensions {
41 41
42 class CastStreamingApiTest : public ExtensionApiTest { 42 class CastStreamingApiTest : public ExtensionApiTest {
43 public: 43 public:
44 void SetUpCommandLine(base::CommandLine* command_line) override { 44 void SetUpCommandLine(base::CommandLine* command_line) override {
45 ExtensionApiTest::SetUpCommandLine(command_line); 45 ExtensionApiTest::SetUpCommandLine(command_line);
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 389
390 delete receiver; 390 delete receiver;
391 cast_environment->Shutdown(); 391 cast_environment->Shutdown();
392 } 392 }
393 393
394 IN_PROC_BROWSER_TEST_F(CastStreamingApiTestWithPixelOutput, RtpStreamError) { 394 IN_PROC_BROWSER_TEST_F(CastStreamingApiTestWithPixelOutput, RtpStreamError) {
395 ASSERT_TRUE(RunExtensionSubtest("cast_streaming", "rtp_stream_error.html")); 395 ASSERT_TRUE(RunExtensionSubtest("cast_streaming", "rtp_stream_error.html"));
396 } 396 }
397 397
398 } // namespace extensions 398 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/cast_streaming/performance_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698