#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "content/web_test/browser/web_test_origin_trial_throttle.h"
#include <string>
#include "base/containers/flat_set.h"
#include "base/containers/span.h"
#include "base/strings/string_util.h"
#include "base/time/time.h"
#include "content/public/browser/navigation_handle.h"
#include "content/public/browser/origin_trials_controller_delegate.h"
#include "content/public/browser/render_frame_host.h"
#include "url/gurl.h"
#include "url/origin.h"
namespace content {
namespace {
const char kThrottleName[] = …;
const char kWebTestOriginTrialHeaderName[] = …;
}
WebTestOriginTrialThrottle::WebTestOriginTrialThrottle(
NavigationHandle* navigation_handle,
OriginTrialsControllerDelegate* delegate)
: … { … }
NavigationThrottle::ThrottleCheckResult
WebTestOriginTrialThrottle::WillStartRequest() { … }
NavigationThrottle::ThrottleCheckResult
WebTestOriginTrialThrottle::WillRedirectRequest() { … }
void WebTestOriginTrialThrottle::SetHeaderForRequest() { … }
const char* WebTestOriginTrialThrottle::GetNameForLogging() { … }
}