| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/macros.h" | 6 #include "base/macros.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/common/channel_info.h" | 10 #include "chrome/common/channel_info.h" |
| 11 #include "components/version_info/version_info.h" | 11 #include "components/version_info/version_info.h" |
| 12 #include "content/public/common/content_switches.h" | 12 #include "content/public/common/content_switches.h" |
| 13 #include "media/base/media_switches.h" | 13 #include "media/base/media_switches.h" |
| 14 #include "net/test/embedded_test_server/embedded_test_server.h" | 14 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 15 | 15 |
| 16 static const char kMainWebrtcTestHtmlPage[] = | 16 static const char kMainWebrtcTestHtmlPage[] = |
| 17 "/webrtc/webrtc_jsep01_test.html"; | 17 "/webrtc/webrtc_jsep01_test.html"; |
| 18 | 18 |
| 19 // This tests the --disable-webrtc-encryption command line flag. Disabling | 19 // This tests the --disable-webrtc-encryption command line flag. Disabling |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 std::string expected_string = should_detect_encryption ? | 84 std::string expected_string = should_detect_encryption ? |
| 85 "crypto-seen" : "no-crypto-seen"; | 85 "crypto-seen" : "no-crypto-seen"; |
| 86 | 86 |
| 87 ASSERT_EQ(expected_string, | 87 ASSERT_EQ(expected_string, |
| 88 ExecuteJavascript("hasSeenCryptoInSdp()", left_tab)); | 88 ExecuteJavascript("hasSeenCryptoInSdp()", left_tab)); |
| 89 | 89 |
| 90 HangUp(left_tab); | 90 HangUp(left_tab); |
| 91 HangUp(right_tab); | 91 HangUp(right_tab); |
| 92 } | 92 } |
| OLD | NEW |