rockot | e1807f0 | 2016-09-16 19:57:54 | [diff] [blame] | 1 | // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
nigeltao | c4802d1e | 2016-11-04 03:51:10 | [diff] [blame] | 5 | module chrome.mojom; |
rockot | e1807f0 | 2016-09-16 19:57:54 | [diff] [blame] | 6 | |
| 7 | import "url/mojo/url.mojom"; |
| 8 | |
| 9 | interface NetworkDiagnostics { |
| 10 | RunNetworkDiagnostics(url.mojom.Url failed_url); |
| 11 | }; |
| 12 | |
| 13 | interface NetworkDiagnosticsClient { |
| 14 | // Tells the renderer whether or not there is a local diagnostics service that |
| 15 | // can be run via calls to NetworkDiagnostics::RunNetworkDiagnostics. |
| 16 | SetCanShowNetworkDiagnosticsDialog(bool can_show); |
| 17 | }; |