summaryrefslogtreecommitdiff
path: root/chromium/chrome/common/network_diagnostics.mojom
blob: db53c0f607d85d0cc42a54d2587f7a5dc4b4350c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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);
};