#include "extensions/browser/guest_view/web_view/web_ui/web_ui_url_fetcher.h"
#include "base/functional/bind.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_ui_url_loader_factory.h"
#include "net/base/load_flags.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
#include "services/network/public/cpp/resource_request.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "services/network/public/cpp/simple_url_loader.h"
#include "services/network/public/mojom/url_response_head.mojom.h"
namespace extensions {
WebUIURLFetcher::WebUIURLFetcher(int render_process_id,
int render_frame_id,
const GURL& url,
WebUILoadFileCallback callback)
: … { … }
WebUIURLFetcher::~WebUIURLFetcher() { … }
void WebUIURLFetcher::Start() { … }
void WebUIURLFetcher::OnURLLoaderComplete(
std::unique_ptr<std::string> response_body) { … }
}