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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/strings/stringprintf.h" | 6 #include "base/strings/stringprintf.h" |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 #include "chrome/browser/media/webrtc_browsertest_base.h" | 8 #include "chrome/browser/media/webrtc/webrtc_browsertest_base.h" |
9 #include "chrome/browser/media/webrtc_browsertest_common.h" | 9 #include "chrome/browser/media/webrtc/webrtc_browsertest_common.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
11 #include "chrome/browser/ui/browser_tabstrip.h" | 11 #include "chrome/browser/ui/browser_tabstrip.h" |
12 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 12 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
13 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
14 #include "chrome/test/base/in_process_browser_test.h" | 14 #include "chrome/test/base/in_process_browser_test.h" |
15 #include "chrome/test/base/ui_test_utils.h" | 15 #include "chrome/test/base/ui_test_utils.h" |
16 #include "content/public/common/content_switches.h" | 16 #include "content/public/common/content_switches.h" |
17 #include "content/public/common/feature_h264_with_openh264_ffmpeg.h" | 17 #include "content/public/common/feature_h264_with_openh264_ffmpeg.h" |
18 #include "content/public/common/features.h" | 18 #include "content/public/common/features.h" |
19 #include "content/public/test/browser_test_utils.h" | 19 #include "content/public/test/browser_test_utils.h" |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 RunsAudioVideoWebRTCCallInTwoTabsGetStats) { | 201 RunsAudioVideoWebRTCCallInTwoTabsGetStats) { |
202 StartServerAndOpenTabs(); | 202 StartServerAndOpenTabs(); |
203 SetupPeerconnectionWithLocalStream(left_tab_); | 203 SetupPeerconnectionWithLocalStream(left_tab_); |
204 SetupPeerconnectionWithLocalStream(right_tab_); | 204 SetupPeerconnectionWithLocalStream(right_tab_); |
205 NegotiateCall(left_tab_, right_tab_); | 205 NegotiateCall(left_tab_, right_tab_); |
206 | 206 |
207 VerifyStatsGenerated(left_tab_); | 207 VerifyStatsGenerated(left_tab_); |
208 | 208 |
209 DetectVideoAndHangUp(); | 209 DetectVideoAndHangUp(); |
210 } | 210 } |
OLD | NEW |