| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code if governed by a BSD-style license that can be | 2 // Use of this source code if governed by a BSD-style license that can be |
| 3 // found in LICENSE file. | 3 // found in LICENSE file. |
| 4 | 4 |
| 5 #include "core/exported/WebViewBase.h" | 5 #include "core/exported/WebViewBase.h" |
| 6 #include "platform/scheduler/renderer/web_view_scheduler.h" | 6 #include "platform/scheduler/renderer/web_view_scheduler.h" |
| 7 #include "platform/testing/TestingPlatformSupport.h" | 7 #include "platform/testing/TestingPlatformSupport.h" |
| 8 #include "platform/wtf/PtrUtil.h" | 8 #include "platform/wtf/PtrUtil.h" |
| 9 #include "public/platform/WebRTCError.h" | 9 #include "public/platform/WebRTCError.h" |
| 10 #include "public/platform/WebRTCPeerConnectionHandler.h" | 10 #include "public/platform/WebRTCPeerConnectionHandler.h" |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 "</script>)"); | 127 "</script>)"); |
| 128 | 128 |
| 129 EXPECT_TRUE(WebView().Scheduler()->HasActiveConnectionForTest()); | 129 EXPECT_TRUE(WebView().Scheduler()->HasActiveConnectionForTest()); |
| 130 | 130 |
| 131 MainFrame().ExecuteScript(WebString("data_channel.close();")); | 131 MainFrame().ExecuteScript(WebString("data_channel.close();")); |
| 132 | 132 |
| 133 EXPECT_FALSE(WebView().Scheduler()->HasActiveConnectionForTest()); | 133 EXPECT_FALSE(WebView().Scheduler()->HasActiveConnectionForTest()); |
| 134 } | 134 } |
| 135 | 135 |
| 136 } // namespace blink | 136 } // namespace blink |
| OLD | NEW |