#include "components/web_resource/resource_request_allowed_notifier.h"
#include "base/command_line.h"
#include "base/functional/bind.h"
namespace web_resource {
ResourceRequestAllowedNotifier::ResourceRequestAllowedNotifier(
PrefService* local_state,
const char* disable_network_switch,
NetworkConnectionTrackerGetter network_connection_tracker_getter)
: … { … }
ResourceRequestAllowedNotifier::~ResourceRequestAllowedNotifier() { … }
void ResourceRequestAllowedNotifier::Init(Observer* observer, bool leaky) { … }
void ResourceRequestAllowedNotifier::Init(Observer* observer,
bool leaky,
bool wait_for_eula) { … }
ResourceRequestAllowedNotifier::State
ResourceRequestAllowedNotifier::GetResourceRequestsAllowedState() { … }
bool ResourceRequestAllowedNotifier::IsOffline() { … }
bool ResourceRequestAllowedNotifier::ResourceRequestsAllowed() { … }
void ResourceRequestAllowedNotifier::SetWaitingForEulaForTesting(bool waiting) { … }
void ResourceRequestAllowedNotifier::SetObserverRequestedForTesting(
bool requested) { … }
void ResourceRequestAllowedNotifier::SetConnectionTypeForTesting(
network::mojom::ConnectionType type) { … }
void ResourceRequestAllowedNotifier::MaybeNotifyObserver() { … }
EulaAcceptedNotifier* ResourceRequestAllowedNotifier::CreateEulaNotifier() { … }
void ResourceRequestAllowedNotifier::OnEulaAccepted() { … }
void ResourceRequestAllowedNotifier::OnConnectionChanged(
network::mojom::ConnectionType type) { … }
void ResourceRequestAllowedNotifier::SetConnectionType(
network::mojom::ConnectionType connection_type) { … }
}