#include "components/history/content/browser/web_contents_top_sites_observer.h"
#include "base/task/cancelable_task_tracker.h"
#include "base/test/scoped_feature_list.h"
#include "components/history/core/browser/top_sites.h"
#include "content/public/test/navigation_simulator.h"
#include "content/public/test/test_renderer_host.h"
#include "content/public/test/web_contents_tester.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features.h"
StrictMock;
namespace history {
class MockTopSites : public TopSites { … };
class WebContentsTopSitesObserverTest
: public content::RenderViewHostTestHarness { … };
TEST_F(WebContentsTopSitesObserverTest,
DoNotCallOnNavigationCommittedInFencedFrame) { … }
}