// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_TEST_TASK_RUNNER_DEFERRING_THROTTLE_H_ #define CONTENT_TEST_TASK_RUNNER_DEFERRING_THROTTLE_H_ #include "base/test/test_simple_task_runner.h" #include "content/public/browser/navigation_throttle.h" namespace content { // This class defers a navigation via a no-op async task on the provided task // runner. class TaskRunnerDeferringThrottle : public NavigationThrottle { … }; } // namespace content #endif // CONTENT_TEST_TASK_RUNNER_DEFERRING_THROTTLE_H_