#ifndef GOOGLE_APIS_COMMON_BASE_REQUESTS_H_
#define GOOGLE_APIS_COMMON_BASE_REQUESTS_H_
#include <stdint.h>
#include <memory>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "base/files/file_path.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/task/sequenced_task_runner.h"
#include "base/threading/thread_checker.h"
#include "google_apis/common/api_error_codes.h"
#include "services/network/public/cpp/simple_url_loader.h"
#include "services/network/public/cpp/simple_url_loader_stream_consumer.h"
#include "services/network/public/mojom/url_response_head.mojom-forward.h"
#include "url/gurl.h"
namespace base {
class Value;
}
namespace google_apis {
class RequestSender;
PrepareCallback;
ProgressCallback;
GetContentCallback;
enum class HttpRequestMethod { … };
std::unique_ptr<base::Value> ParseJson(const std::string& json);
std::optional<std::string> MapJsonErrorToReason(const std::string& error_body);
std::string HttpRequestMethodToString(HttpRequestMethod method);
class AuthenticatedRequestInterface { … };
class UrlFetchRequestBase : public AuthenticatedRequestInterface,
public network::SimpleURLLoaderStreamConsumer { … };
}
#endif