#include "base/check_op.h"
#include "base/feature_list.h"
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/sequence_checker.h"
#include "base/test/bind.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/network_service_instance.h"
#include "content/public/browser/network_service_util.h"
#include "content/public/browser/storage_partition.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "net/base/network_change_notifier.h"
#include "services/network/public/cpp/features.h"
#include "services/network/public/cpp/network_connection_tracker.h"
#include "services/network/public/mojom/network_service.mojom.h"
#include "services/network/public/mojom/network_service_test.mojom.h"
namespace {
class TestNetworkConnectionObserver
: public network::NetworkConnectionTracker::NetworkConnectionObserver { … };
}
class NetworkConnectionTrackerBrowserTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(NetworkConnectionTrackerBrowserTest,
NetworkConnectionTracker) { … }
IN_PROC_BROWSER_TEST_F(NetworkConnectionTrackerBrowserTest,
SimulateNetworkServiceCrash) { … }