#include "chrome/browser/ui/side_search/side_search_tab_contents_helper.h"
#include <memory>
#include "base/feature_list.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/ui/side_search/side_search_config.h"
#include "chrome/browser/ui/ui_features.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/test_renderer_host.h"
#include "content/public/test/web_contents_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace {
constexpr char kSearchMatchUrl1[] = …;
constexpr char kSearchMatchUrl2[] = …;
constexpr char kNonMatchUrl[] = …;
bool IsSearchURLMatch(const GURL& url) { … }
}
namespace test {
class SideSearchTabContentsHelperTest : public ::testing::Test { … };
TEST_F(SideSearchTabContentsHelperTest,
DISABLED_LastSearchURLUpdatesCorrectly) { … }
TEST_F(SideSearchTabContentsHelperTest,
DISABLED_IndicatesWhenSidePanelShouldBeShown) { … }
TEST_F(SideSearchTabContentsHelperTest, ClearsSidePanelContentsWhenAsked) { … }
TEST_F(SideSearchTabContentsHelperTest, DISABLED_EmitsReturnedToSRPMetrics) { … }
}