| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module mojom; | 5 module chrome.mojom; |
| 6 | 6 |
| 7 import "url/mojo/url.mojom"; | 7 import "url/mojo/url.mojom"; |
| 8 | 8 |
| 9 interface NetworkDiagnostics { | 9 interface NetworkDiagnostics { |
| 10 RunNetworkDiagnostics(url.mojom.Url failed_url); | 10 RunNetworkDiagnostics(url.mojom.Url failed_url); |
| 11 }; | 11 }; |
| 12 | 12 |
| 13 interface NetworkDiagnosticsClient { | 13 interface NetworkDiagnosticsClient { |
| 14 // Tells the renderer whether or not there is a local diagnostics service that | 14 // Tells the renderer whether or not there is a local diagnostics service that |
| 15 // can be run via calls to NetworkDiagnostics::RunNetworkDiagnostics. | 15 // can be run via calls to NetworkDiagnostics::RunNetworkDiagnostics. |
| 16 SetCanShowNetworkDiagnosticsDialog(bool can_show); | 16 SetCanShowNetworkDiagnosticsDialog(bool can_show); |
| 17 }; | 17 }; |
| OLD | NEW |