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

Side by Side Diff: chrome/browser/media/webrtc/webrtc_apprtc_browsertest.cc

Issue 2307083002: Cleanup: move WebRTC related files from chrome/browser/media to chrome/browser/media/webrtc/ (Closed)
Patch Set: Removed file wrongly resuscitated during rebase Created 4 years, 3 months 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 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/files/file_enumerator.h" 6 #include "base/files/file_enumerator.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/process/launch.h" 8 #include "base/process/launch.h"
9 #include "base/rand_util.h" 9 #include "base/rand_util.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "chrome/browser/browser_process.h" 12 #include "chrome/browser/browser_process.h"
13 #include "chrome/browser/infobars/infobar_responder.h" 13 #include "chrome/browser/infobars/infobar_responder.h"
14 #include "chrome/browser/infobars/infobar_service.h" 14 #include "chrome/browser/infobars/infobar_service.h"
15 #include "chrome/browser/media/webrtc_browsertest_base.h" 15 #include "chrome/browser/media/webrtc/webrtc_browsertest_base.h"
16 #include "chrome/browser/media/webrtc_browsertest_common.h" 16 #include "chrome/browser/media/webrtc/webrtc_browsertest_common.h"
17 #include "chrome/browser/permissions/permission_request_manager.h" 17 #include "chrome/browser/permissions/permission_request_manager.h"
18 #include "chrome/browser/ui/browser.h" 18 #include "chrome/browser/ui/browser.h"
19 #include "chrome/browser/ui/browser_tabstrip.h" 19 #include "chrome/browser/ui/browser_tabstrip.h"
20 #include "chrome/browser/ui/tabs/tab_strip_model.h" 20 #include "chrome/browser/ui/tabs/tab_strip_model.h"
21 #include "chrome/common/chrome_switches.h" 21 #include "chrome/common/chrome_switches.h"
22 #include "chrome/test/base/ui_test_utils.h" 22 #include "chrome/test/base/ui_test_utils.h"
23 #include "content/public/common/content_switches.h" 23 #include "content/public/common/content_switches.h"
24 #include "content/public/test/browser_test_utils.h" 24 #include "content/public/test/browser_test_utils.h"
25 #include "media/base/media_switches.h" 25 #include "media/base/media_switches.h"
26 #include "net/test/python_utils.h" 26 #include "net/test/python_utils.h"
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 InfoBarService::FromWebContents(chrome_tab), InfoBarResponder::ACCEPT); 296 InfoBarService::FromWebContents(chrome_tab), InfoBarResponder::ACCEPT);
297 ui_test_utils::NavigateToURL(browser(), room_url); 297 ui_test_utils::NavigateToURL(browser(), room_url);
298 298
299 ASSERT_TRUE(LaunchFirefoxWithUrl(room_url)); 299 ASSERT_TRUE(LaunchFirefoxWithUrl(room_url));
300 300
301 ASSERT_TRUE(WaitForCallToComeUp(chrome_tab)); 301 ASSERT_TRUE(WaitForCallToComeUp(chrome_tab));
302 302
303 // Ensure Firefox manages to send video our way. 303 // Ensure Firefox manages to send video our way.
304 ASSERT_TRUE(DetectRemoteVideoPlaying(chrome_tab)); 304 ASSERT_TRUE(DetectRemoteVideoPlaying(chrome_tab));
305 } 305 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698