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

Side by Side Diff: content/browser/media/media_redirect_browsertest.cc

Issue 2580093002: Revert of Convert USE_PROPRIETARY_CODECS to a buildflag header. (Closed)
Patch Set: Created 4 years 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/browser/media/media_browsertest.h" 6 #include "content/browser/media/media_browsertest.h"
7 #include "content/public/test/browser_test_utils.h" 7 #include "content/public/test/browser_test_utils.h"
8 #include "content/public/test/content_browser_test_utils.h" 8 #include "content/public/test/content_browser_test_utils.h"
9 #include "media/base/test_data_util.h" 9 #include "media/base/test_data_util.h"
10 #include "media/media_features.h"
11 #include "net/test/embedded_test_server/embedded_test_server.h" 10 #include "net/test/embedded_test_server/embedded_test_server.h"
12 #include "net/test/embedded_test_server/http_request.h" 11 #include "net/test/embedded_test_server/http_request.h"
13 #include "net/test/embedded_test_server/http_response.h" 12 #include "net/test/embedded_test_server/http_response.h"
14 13
15 namespace content { 14 namespace content {
16 15
17 // Tests that WebMediaPlayer implementations choose the right playback engine 16 // Tests that WebMediaPlayer implementations choose the right playback engine
18 // for content even when the playback extension is not known upfront. 17 // for content even when the playback extension is not known upfront.
19 class MediaRedirectTest : public MediaBrowserTest { 18 class MediaRedirectTest : public MediaBrowserTest {
20 public: 19 public:
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 52 }
54 53
55 private: 54 private:
56 const std::string kHiddenPath = "hidden_redirect"; 55 const std::string kHiddenPath = "hidden_redirect";
57 }; 56 };
58 57
59 IN_PROC_BROWSER_TEST_F(MediaRedirectTest, CanPlayHiddenWebm) { 58 IN_PROC_BROWSER_TEST_F(MediaRedirectTest, CanPlayHiddenWebm) {
60 RunRedirectTest("bear.webm"); 59 RunRedirectTest("bear.webm");
61 } 60 }
62 61
63 #if defined(OS_ANDROID) && BUILDFLAG(USE_PROPRIETARY_CODECS) 62 #if defined(OS_ANDROID) && defined(USE_PROPRIETARY_CODECS)
64 // Flaky, see http://crbug.com/624005 63 // Flaky, see http://crbug.com/624005
65 IN_PROC_BROWSER_TEST_F(MediaRedirectTest, DISABLED_CanPlayHiddenHls) { 64 IN_PROC_BROWSER_TEST_F(MediaRedirectTest, DISABLED_CanPlayHiddenHls) {
66 RunRedirectTest("bear.m3u8"); 65 RunRedirectTest("bear.m3u8");
67 } 66 }
68 #endif 67 #endif
69 68
70 } // namespace content 69 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/media/media_color_browsertest.cc ('k') | content/browser/media/media_source_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698