#include "chrome/browser/chained_back_navigation_tracker.h"
#include "base/test/bind.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/navigation_simulator.h"
#include "net/dns/mock_host_resolver.h"
namespace chrome {
class ChainedBackNavigationTrackerBrowserTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(ChainedBackNavigationTrackerBrowserTest,
SubframeBackNavigationIsCountedAsChained) { … }
IN_PROC_BROWSER_TEST_F(ChainedBackNavigationTrackerBrowserTest,
RendererInitiatedBackNavigationIsNotCountedAsChained) { … }
}