#include "chrome/browser/safe_browsing/phishy_interaction_tracker.h"
#include <string>
#include <utility>
#include "base/test/bind.h"
#include "base/test/metrics/histogram_tester.h"
#include "build/build_config.h"
#include "chrome/browser/safe_browsing/chrome_ping_manager_factory.h"
#include "chrome/browser/safe_browsing/chrome_safe_browsing_blocking_page_factory.h"
#include "chrome/browser/safe_browsing/chrome_ui_manager_delegate.h"
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#include "chrome/browser/safe_browsing/test_safe_browsing_service.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "chrome/test/base/testing_browser_process.h"
#include "components/safe_browsing/content/browser/unsafe_resource_util.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/mock_render_process_host.h"
#include "content/public/test/test_renderer_host.h"
#include "content/public/test/web_contents_tester.h"
#include "services/network/test/test_utils.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
WebContents;
PhishyInteractionTracker;
_;
Mock;
StrictMock;
namespace {
constexpr char kBadURL[] = …;
class MockSafeBrowsingUIManager : public safe_browsing::SafeBrowsingUIManager { … };
}
class PhishyInteractionTrackerTest : public ChromeRenderViewHostTestHarness { … };
TEST_F(PhishyInteractionTrackerTest, CheckHistogramCountsOnPhishyUserEvents) { … }
TEST_F(PhishyInteractionTrackerTest, CheckPhishyUserInteractionClientReport) { … }