| 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/message_loop/message_loop.h" |
| 5 #include "chrome/browser/devtools/device/adb/adb_device_provider.h" | 6 #include "chrome/browser/devtools/device/adb/adb_device_provider.h" |
| 6 #include "chrome/browser/devtools/device/adb/mock_adb_server.h" | 7 #include "chrome/browser/devtools/device/adb/mock_adb_server.h" |
| 7 #include "chrome/browser/devtools/device/devtools_android_bridge.h" | 8 #include "chrome/browser/devtools/device/devtools_android_bridge.h" |
| 8 #include "chrome/browser/ui/browser.h" | 9 #include "chrome/browser/ui/browser.h" |
| 9 #include "chrome/test/base/in_process_browser_test.h" | 10 #include "chrome/test/base/in_process_browser_test.h" |
| 10 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
| 11 #include "content/public/test/test_utils.h" | 12 #include "content/public/test/test_utils.h" |
| 12 | 13 |
| 13 using content::BrowserThread; | 14 using content::BrowserThread; |
| 14 | 15 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 StopMockAdbServer(); | 150 StopMockAdbServer(); |
| 150 } | 151 } |
| 151 | 152 |
| 152 // Flaky due to failure to bind a hardcoded port. crbug.com/566057 | 153 // Flaky due to failure to bind a hardcoded port. crbug.com/566057 |
| 153 IN_PROC_BROWSER_TEST_F(AdbClientSocketTest, DISABLED_TestFlushWithData) { | 154 IN_PROC_BROWSER_TEST_F(AdbClientSocketTest, DISABLED_TestFlushWithData) { |
| 154 StartMockAdbServer(FlushWithData); | 155 StartMockAdbServer(FlushWithData); |
| 155 StartTest(); | 156 StartTest(); |
| 156 CheckDevices(); | 157 CheckDevices(); |
| 157 StopMockAdbServer(); | 158 StopMockAdbServer(); |
| 158 } | 159 } |
| OLD | NEW |