blob: 99425864c2f79f44a3ead5aed9c43e52c1e76f50 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module chrome.mojom;
import "url/mojo/url.mojom";
interface NetworkDiagnostics {
RunNetworkDiagnostics(url.mojom.Url failed_url);
interface NetworkDiagnosticsClient {
// Tells the renderer whether or not there is a local diagnostics service that
// can be run via calls to NetworkDiagnostics::RunNetworkDiagnostics.
SetCanShowNetworkDiagnosticsDialog(bool can_show);
// Provides the renderer with the results of the browser's investigation into
// why a recent main frame load failed (currently, just DNS probe result).
// NetErrorHelper will receive this mesage and replace or update the error
// page with more specific troubleshooting suggestions.
DNSProbeStatus(int32 status);