#include <string_view>
#include "build/build_config.h"
#include "content/browser/devtools/protocol/devtools_protocol_test_support.h"
#include "content/browser/devtools/protocol/network.h"
#include "content/browser/network/trust_token_browsertest.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/test_navigation_observer.h"
#include "content/shell/browser/shell.h"
#include "services/network/public/cpp/features.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace content {
class DevToolsTrustTokenBrowsertest : public DevToolsProtocolTest,
public TrustTokenBrowsertest { … };
IN_PROC_BROWSER_TEST_F(DevToolsTrustTokenBrowsertest,
RedemptionRecordCacheHitIsReportedAsLoadingFinished) { … }
namespace {
bool MatchStatus(const std::string& expected_status,
const base::Value::Dict& params) { … }
base::RepeatingCallback<bool(const base::Value::Dict&)> okStatusMatcher = …;
}
IN_PROC_BROWSER_TEST_F(DevToolsTrustTokenBrowsertest, FetchEndToEnd) { … }
IN_PROC_BROWSER_TEST_F(DevToolsTrustTokenBrowsertest, IframeEndToEnd) { … }
IN_PROC_BROWSER_TEST_F(DevToolsTrustTokenBrowsertest,
FailedIssuanceFiresFailedOperationEvent) { … }
IN_PROC_BROWSER_TEST_F(DevToolsTrustTokenBrowsertest, GetTrustTokens) { … }
IN_PROC_BROWSER_TEST_F(DevToolsTrustTokenBrowsertest, ClearTrustTokens) { … }
}