#include "components/no_state_prefetch/common/no_state_prefetch_url_loader_throttle.h"
#include "base/location.h"
#include "base/run_loop.h"
#include "base/task/thread_pool.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "components/no_state_prefetch/common/prerender_canceler.mojom.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace prerender {
namespace {
class NoStatePrefetchURLLoaderThrottleTest : public testing::Test { … };
class FakeCanceler : public prerender::mojom::PrerenderCanceler { … };
TEST_F(NoStatePrefetchURLLoaderThrottleTest, DestructionClosure) { … }
TEST_F(NoStatePrefetchURLLoaderThrottleTest,
DestructionClosureAfterDetachFromCurrentSequence) { … }
}
}