chromium/content/test/mock_commit_deferring_condition.cc

// 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.

#include "content/test/mock_commit_deferring_condition.h"

#include "content/browser/renderer_host/navigation_request.h"

namespace content {

class MockCommitDeferringCondition : public CommitDeferringCondition {};

MockCommitDeferringConditionWrapper::MockCommitDeferringConditionWrapper(
    NavigationHandle& handle,
    CommitDeferringCondition::Result result) {}

MockCommitDeferringConditionWrapper::~MockCommitDeferringConditionWrapper() =
    default;

std::unique_ptr<CommitDeferringCondition>
MockCommitDeferringConditionWrapper::PassToDelegate() {}

void MockCommitDeferringConditionWrapper::CallResumeClosure() {}

bool MockCommitDeferringConditionWrapper::WasInvoked() const {}

bool MockCommitDeferringConditionWrapper::IsDestroyed() const {}

void MockCommitDeferringConditionWrapper::WaitUntilInvoked() {}

base::OnceClosure MockCommitDeferringConditionWrapper::TakeResumeClosure() {}

void MockCommitDeferringConditionWrapper::WillCommitNavigationCalled(
    base::OnceClosure resume_closure) {}

MockCommitDeferringConditionInstaller::MockCommitDeferringConditionInstaller(
    const GURL& url,
    CommitDeferringCondition::Result result,
    CommitDeferringConditionRunner::InsertOrder order)
    :{}

MockCommitDeferringConditionInstaller::
    ~MockCommitDeferringConditionInstaller() {}

void MockCommitDeferringConditionInstaller::WaitUntilInstalled() {}

std::unique_ptr<CommitDeferringCondition>
MockCommitDeferringConditionInstaller::Install(
    NavigationHandle& handle,
    CommitDeferringCondition::NavigationType /*type*/) {}

}  //  namespace content