#include "content/public/test/test_frame_navigation_observer.h"
#include "content/browser/renderer_host/navigation_entry_impl.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/renderer_host/render_view_host_impl.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/navigation_handle.h"
namespace content {
namespace {
RenderFrameHostImpl* ToRenderFrameHostImpl(const ToRenderFrameHost& frame) { … }
}
TestFrameNavigationObserver::TestFrameNavigationObserver(
const ToRenderFrameHost& adapter)
: … { … }
TestFrameNavigationObserver::~TestFrameNavigationObserver() { … }
void TestFrameNavigationObserver::Wait() { … }
void TestFrameNavigationObserver::WaitForCommit() { … }
void TestFrameNavigationObserver::DidStartNavigation(
NavigationHandle* navigation_handle) { … }
void TestFrameNavigationObserver::DidFinishNavigation(
NavigationHandle* navigation_handle) { … }
void TestFrameNavigationObserver::DidStopLoading() { … }
}