| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |