#include "content/browser/background_sync/background_sync_network_observer.h"
#include "base/location.h"
#include "base/task/single_thread_task_runner.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/network_service_instance.h"
namespace content {
bool BackgroundSyncNetworkObserver::ignore_network_changes_ = …;
void BackgroundSyncNetworkObserver::SetIgnoreNetworkChangesForTests(
bool ignore) { … }
BackgroundSyncNetworkObserver::BackgroundSyncNetworkObserver(
base::RepeatingClosure connection_changed_callback)
: … { … }
BackgroundSyncNetworkObserver::~BackgroundSyncNetworkObserver() { … }
void BackgroundSyncNetworkObserver::RegisterWithNetworkConnectionTracker(
network::NetworkConnectionTracker* network_connection_tracker) { … }
void BackgroundSyncNetworkObserver::UpdateConnectionType() { … }
bool BackgroundSyncNetworkObserver::NetworkSufficient() { … }
void BackgroundSyncNetworkObserver::OnConnectionChanged(
network::mojom::ConnectionType connection_type) { … }
void BackgroundSyncNetworkObserver::NotifyManagerIfConnectionChangedForTesting(
network::mojom::ConnectionType connection_type) { … }
void BackgroundSyncNetworkObserver::NotifyManagerIfConnectionChanged(
network::mojom::ConnectionType connection_type) { … }
void BackgroundSyncNetworkObserver::NotifyConnectionChanged() { … }
}