Index: chrome/common/net_benchmarking.mojom |
diff --git a/chrome/common/net_benchmarking.mojom b/chrome/common/net_benchmarking.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4d28c20d28782df1f7f682fc35427107d15002e5 |
--- /dev/null |
+++ b/chrome/common/net_benchmarking.mojom |
@@ -0,0 +1,25 @@ |
+// Copyright 2016 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 chrome.mojom; |
+ |
+interface NetBenchmarking { |
+ // Message sent from the renderer to the browser to request that the browser |
+ // close all sockets. Used for debugging/testing. |
+ [Sync] |
+ CloseCurrentConnections() => (); |
+ |
+ // Message sent from the renderer to the browser to request that the browser |
+ // clear the cache. Used for debugging/testing. |
+ // |result| is the returned status from the operation. |
+ ClearCache() => (int32 result); |
+ |
+ // Message sent from the renderer to the browser to request that the browser |
+ // clear the host cache. Used for debugging/testing. |
+ ClearHostResolverCache(); |
+ |
+ // Message sent from the renderer to the browser to request that the browser |
+ // clear the predictor cache. Used for debugging/testing. |
+ ClearPredictorCache(); |
+}; |