| 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" |
| 7 #include "build/build_config.h" |
| 6 #include "chrome/browser/media/webrtc_browsertest_base.h" | 8 #include "chrome/browser/media/webrtc_browsertest_base.h" |
| 7 #include "chrome/browser/media/webrtc_browsertest_common.h" | 9 #include "chrome/browser/media/webrtc_browsertest_common.h" |
| 8 #include "chrome/common/channel_info.h" | 10 #include "chrome/common/channel_info.h" |
| 9 #include "components/version_info/version_info.h" | 11 #include "components/version_info/version_info.h" |
| 10 #include "content/public/common/content_switches.h" | 12 #include "content/public/common/content_switches.h" |
| 11 #include "media/base/media_switches.h" | 13 #include "media/base/media_switches.h" |
| 12 #include "net/test/embedded_test_server/embedded_test_server.h" | 14 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 13 | 15 |
| 14 static const char kMainWebrtcTestHtmlPage[] = | 16 static const char kMainWebrtcTestHtmlPage[] = |
| 15 "/webrtc/webrtc_jsep01_test.html"; | 17 "/webrtc/webrtc_jsep01_test.html"; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 86 |
| 85 std::string expected_string = should_detect_encryption ? | 87 std::string expected_string = should_detect_encryption ? |
| 86 "crypto-seen" : "no-crypto-seen"; | 88 "crypto-seen" : "no-crypto-seen"; |
| 87 | 89 |
| 88 ASSERT_EQ(expected_string, | 90 ASSERT_EQ(expected_string, |
| 89 ExecuteJavascript("hasSeenCryptoInSdp()", left_tab)); | 91 ExecuteJavascript("hasSeenCryptoInSdp()", left_tab)); |
| 90 | 92 |
| 91 HangUp(left_tab); | 93 HangUp(left_tab); |
| 92 HangUp(right_tab); | 94 HangUp(right_tab); |
| 93 } | 95 } |
| OLD | NEW |