mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-11 05:00:57 +00:00
18 lines
475 B
Text
18 lines
475 B
Text
// Copyright 2017 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 content.mojom;
|
|
|
|
struct Rule {
|
|
string host_pattern;
|
|
string replacement;
|
|
};
|
|
|
|
// Testing interface to the network service.
|
|
interface NetworkServiceTest {
|
|
// Adds the given host resolver rules in the process where the network
|
|
// service is running.
|
|
[Sync]
|
|
AddRules(array<Rule> rules) => ();
|
|
};
|