#include "chrome/browser/ui/webui/privacy_sandbox/private_state_tokens/private_state_tokens_handler.h"
#include <iostream>
#include "base/functional/bind.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/storage_partition.h"
#include "content/public/browser/web_contents.h"
#include "services/network/public/mojom/network_context.mojom.h"
#include "services/network/public/mojom/trust_tokens.mojom.h"
#include "url/gurl.h"
IssuerTokenCount;
namespace {
void SendTrustTokens(
PrivateStateTokensHandler::GetIssuerTokenCountsCallback callback,
std::vector<::network::mojom::StoredTrustTokensForIssuerPtr> tokens) { … }
}
network::mojom::NetworkContext* PrivateStateTokensHandler::GetNetworkContext() { … }
void PrivateStateTokensHandler::GetIssuerTokenCounts(
GetIssuerTokenCountsCallback callback) { … }
PrivateStateTokensHandler::PrivateStateTokensHandler(
content::WebUI* web_ui,
mojo::PendingReceiver<
private_state_tokens::mojom::PrivateStateTokensPageHandler> receiver)
: … { … }
PrivateStateTokensHandler::~PrivateStateTokensHandler() = default;