OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 content.mojom; | 5 module content.mojom; |
6 | 6 |
7 struct Rule { | 7 struct Rule { |
8 string host_pattern; | 8 string host_pattern; |
9 string replacement; | 9 string replacement; |
10 }; | 10 }; |
11 | 11 |
12 // Testing interface to the network service. | 12 // Testing interface to the network service. |
13 interface NetworkServiceTest { | 13 interface NetworkServiceTest { |
14 // Adds the given host resolver rules in the process where the network | 14 // Adds the given host resolver rules in the process where the network |
15 // service is running. | 15 // service is running. |
16 AddRules(array<Rule> rules); | 16 [Sync] |
| 17 AddRules(array<Rule> rules) => (); |
17 }; | 18 }; |
OLD | NEW |