#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 ) { … }
}