naiveproxy/content/public/common/network_service_test.mojom

19 lines
475 B
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
// 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) => ();
};