Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Unified Diff: content/public/common/network_service_test.mojom

Issue 2837813004: Sync the browser test host resolver with the network process before a test runs. (Closed)
Patch Set: review comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/public/test/browser_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/network_service_test.mojom
diff --git a/content/public/common/network_service_test.mojom b/content/public/common/network_service_test.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..451c15f42d429f325068f9ce16c24c6ed7a4afd1
--- /dev/null
+++ b/content/public/common/network_service_test.mojom
@@ -0,0 +1,17 @@
+// 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.
+ AddRules(array<Rule> rules);
+};
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/public/test/browser_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698