#include <array>
#include "base/functional/bind.h"
#include "base/ranges/algorithm.h"
#include "base/values.h"
#include "chrome/browser/devtools/device/devtools_android_bridge.h"
#include "chrome/browser/devtools/device/tcp_device_provider.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/prefs/pref_service.h"
#include "content/public/test/browser_test.h"
class DevToolsAndroidBridgeTest : public InProcessBrowserTest { … };
static void assign_from_callback(scoped_refptr<TCPDeviceProvider>* store,
int* invocation_counter,
scoped_refptr<TCPDeviceProvider> value) { … }
static std::string SetToString(const std::set<std::string>& values) { … }
static std::string AllTargetsString(
scoped_refptr<TCPDeviceProvider> provider) { … }
IN_PROC_BROWSER_TEST_F(DevToolsAndroidBridgeTest, DiscoveryListChanges) { … }
IN_PROC_BROWSER_TEST_F(DevToolsAndroidBridgeTest, DefaultValues) { … }
IN_PROC_BROWSER_TEST_F(DevToolsAndroidBridgeTest, TCPEnableChange) { … }