#include "components/security_interstitials/core/controller_client.h"
#include <utility>
#include "components/google/core/common/google_util.h"
#include "components/prefs/pref_service.h"
#include "components/security_interstitials/core/metrics_helper.h"
#include "components/security_interstitials/core/urls.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"
namespace security_interstitials {
const char kBoxChecked[] = …;
const char kDisplayCheckBox[] = …;
const char kDisplayEnhancedProtectionMessage[] = …;
const char kOptInLink[] = …;
const char kEnhancedProtectionMessage[] = …;
const char kHelpCenterUrl[] = …;
ControllerClient::ControllerClient(
std::unique_ptr<MetricsHelper> metrics_helper)
: … { … }
ControllerClient::~ControllerClient() { … }
MetricsHelper* ControllerClient::metrics_helper() const { … }
void ControllerClient::SetReportingPreference(bool report) { … }
void ControllerClient::OpenExtendedReportingPrivacyPolicy(
bool open_links_in_new_tab) { … }
void ControllerClient::OpenExtendedReportingWhitepaper(
bool open_links_in_new_tab) { … }
void ControllerClient::OpenURL(bool open_links_in_new_tab, const GURL& url) { … }
bool ControllerClient::HasSeenRecurrentError() { … }
GURL ControllerClient::GetBaseHelpCenterUrl() const { … }
void ControllerClient::SetBaseHelpCenterUrlForTesting(const GURL& test_url) { … }
}