blob: 194b32d9909c5e0adbf2e634216976c3ebcaa4d2 [file] [log] [blame]
// 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.
module chrome.mojom;
import "url/mojom/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);
};