chromium/components/captive_portal/content/captive_portal_tab_reloader.cc

// Copyright 2012 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/captive_portal/content/captive_portal_tab_reloader.h"

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/location.h"
#include "base/task/single_thread_task_runner.h"
#include "components/captive_portal/core/captive_portal_types.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_contents.h"
#include "net/base/net_errors.h"

namespace captive_portal {

namespace {

// The time to wait for a slow loading SSL page before triggering a captive
// portal check.
const int kDefaultSlowSSLTimeSeconds =;

// Returns true if |error| may indicate a captive portal, otherwise returns
// false.
bool SslNetErrorMayImplyCaptivePortal(int error) {}

}  // namespace

CaptivePortalTabReloader::CaptivePortalTabReloader(
    CaptivePortalService* captive_portal_service,
    content::WebContents* web_contents,
    const OpenLoginTabCallback& open_login_tab_callback)
    :{}

CaptivePortalTabReloader::~CaptivePortalTabReloader() {}

void CaptivePortalTabReloader::OnLoadStart(bool is_ssl) {}

void CaptivePortalTabReloader::OnLoadCommitted(
    int net_error,
    net::ResolveErrorInfo resolve_error_info) {}

void CaptivePortalTabReloader::OnAbort() {}

void CaptivePortalTabReloader::OnRedirect(bool is_ssl) {}

void CaptivePortalTabReloader::OnCaptivePortalResults(
    CaptivePortalResult previous_result,
    CaptivePortalResult result) {}

void CaptivePortalTabReloader::OnSSLCertError(const net::SSLInfo& ssl_info) {}

void CaptivePortalTabReloader::OnSlowSSLConnect() {}

void CaptivePortalTabReloader::OnSecureDnsNetworkError() {}

void CaptivePortalTabReloader::SetState(State new_state) {}

void CaptivePortalTabReloader::ReloadTabIfNeeded() {}

void CaptivePortalTabReloader::ReloadTab() {}

void CaptivePortalTabReloader::MaybeOpenCaptivePortalLoginTab() {}

void CaptivePortalTabReloader::CheckForCaptivePortal() {}

}  // namespace captive_portal