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

Unified Diff: extensions/browser/guest_view/web_view/web_view_media_access_apitest.cc

Issue 2837873004: Revert of Initialize default audio device ID with explicit device ID. (patchset #4 id:170001 of htt… (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/media/user_media_client_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/guest_view/web_view/web_view_media_access_apitest.cc
diff --git a/extensions/browser/guest_view/web_view/web_view_media_access_apitest.cc b/extensions/browser/guest_view/web_view/web_view_media_access_apitest.cc
index 2ee74f7d4f63ce4bc08d4bc299de4c48091aa542..c013665c062d2e4c75d6d37fa6eb353ef9142c9f 100644
--- a/extensions/browser/guest_view/web_view/web_view_media_access_apitest.cc
+++ b/extensions/browser/guest_view/web_view/web_view_media_access_apitest.cc
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/command_line.h"
#include "base/macros.h"
#include "base/strings/stringprintf.h"
#include "content/public/browser/web_contents_delegate.h"
@@ -81,14 +80,6 @@ class WebViewMediaAccessAPITest : public WebViewAPITest {
base::StringPrintf("runTest('%s');", test_name.c_str())));
ASSERT_TRUE(test_run_listener.WaitUntilSatisfied());
}
-
- void SetUpCommandLine(base::CommandLine* command_line) override {
- WebViewAPITest::SetUpCommandLine(command_line);
- // This switch ensures that there will always be at least one media device,
- // even on machines without physical devices. This is required by tests that
- // request permission to use media devices.
- command_line->AppendSwitch("use-fake-device-for-media-stream");
- }
};
IN_PROC_BROWSER_TEST_F(WebViewMediaAccessAPITest, TestAllow) {
« no previous file with comments | « content/renderer/media/user_media_client_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698