// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_ADB_MOCK_ADB_SERVER_H_ #define CHROME_BROWSER_DEVTOOLS_DEVICE_ADB_MOCK_ADB_SERVER_H_ #include <string> #include "base/functional/callback.h" #include "base/memory/raw_ptr.h" // Single instance mock ADB server for use in browser tests. Runs on IO thread. // These methods can be called from any thread. enum FlushMode { … }; void StartMockAdbServer(FlushMode flush_mode); void StopMockAdbServer(); // Part of mock server independent of transport. class MockAndroidConnection { … }; #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_ADB_MOCK_ADB_SERVER_H_