chromium/components/security_interstitials/core/safe_browsing_loud_error_ui.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/security_interstitials/core/safe_browsing_loud_error_ui.h"

#include "base/i18n/time_formatting.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/escape.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "components/feature_engagement/public/feature_list.h"
#include "components/google/core/common/google_util.h"
#include "components/grit/components_resources.h"
#include "components/safe_browsing/core/common/features.h"
#include "components/security_interstitials/core/common_string_util.h"
#include "components/security_interstitials/core/controller_client.h"
#include "components/security_interstitials/core/metrics_helper.h"
#include "components/strings/grit/components_strings.h"
#include "net/base/url_util.h"
#include "ui/base/l10n/l10n_util.h"

namespace security_interstitials {
namespace {

// For malware interstitial pages, we link the problematic URL to Google's
// diagnostic page.
const char kSbDiagnosticUrl[] =;

// Constants for the V4 phishing string upgrades.
const char kReportPhishingErrorUrl[] =;

void RecordExtendedReportingPrefChanged(bool report) {}

}  // namespace

SafeBrowsingLoudErrorUI::SafeBrowsingLoudErrorUI(
    const GURL& request_url,
    SBInterstitialReason reason,
    const SBErrorDisplayOptions& display_options,
    const std::string& app_locale,
    const base::Time& time_triggered,
    ControllerClient* controller,
    bool created_prior_to_navigation)
    :{}

SafeBrowsingLoudErrorUI::~SafeBrowsingLoudErrorUI() {}

void SafeBrowsingLoudErrorUI::PopulateStringsForHtml(
    base::Value::Dict& load_time_data) {}

void SafeBrowsingLoudErrorUI::HandleCommand(
    SecurityInterstitialCommand command) {}

void SafeBrowsingLoudErrorUI::PopulateMalwareLoadTimeData(
    base::Value::Dict& load_time_data) {}

void SafeBrowsingLoudErrorUI::PopulateHarmfulLoadTimeData(
    base::Value::Dict& load_time_data) {}

void SafeBrowsingLoudErrorUI::PopulatePhishingLoadTimeData(
    base::Value::Dict& load_time_data) {}

void SafeBrowsingLoudErrorUI::PopulateExtendedReportingOption(
    base::Value::Dict& load_time_data) {}

void SafeBrowsingLoudErrorUI::PopulateEnhancedProtectionMessage(
    base::Value::Dict& load_time_data) {}

void SafeBrowsingLoudErrorUI::PopulateBillingLoadTimeData(
    base::Value::Dict& load_time_data) {}

void SafeBrowsingLoudErrorUI::UpdateInterstitialInteractionData(
    SecurityInterstitialCommand command) {}

int SafeBrowsingLoudErrorUI::GetHTMLTemplateId() const {}

}  // namespace security_interstitials