#include "components/safe_browsing/content/browser/safe_browsing_network_context.h"
#include <memory>
#include <utility>
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/trace_event/trace_event.h"
#include "components/safe_browsing/core/common/safebrowsing_constants.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/network_context_client_base.h"
#include "content/public/browser/network_service_instance.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
#include "net/net_buildflags.h"
#include "services/network/network_context.h"
#include "services/network/public/mojom/url_loader_factory.mojom.h"
namespace safe_browsing {
class SafeBrowsingNetworkContext::SharedURLLoaderFactory
: public network::SharedURLLoaderFactory { … };
SafeBrowsingNetworkContext::SafeBrowsingNetworkContext(
const base::FilePath& user_data_dir,
bool trigger_migration,
NetworkContextParamsFactory network_context_params_factory) { … }
SafeBrowsingNetworkContext::~SafeBrowsingNetworkContext() { … }
scoped_refptr<network::SharedURLLoaderFactory>
SafeBrowsingNetworkContext::GetURLLoaderFactory() { … }
network::mojom::NetworkContext*
SafeBrowsingNetworkContext::GetNetworkContext() { … }
void SafeBrowsingNetworkContext::FlushForTesting() { … }
void SafeBrowsingNetworkContext::ServiceShuttingDown() { … }
}