OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module chrome.mojom; |
| 6 |
| 7 interface NetBenchmarking { |
| 8 // Message sent from the renderer to the browser to request that the browser |
| 9 // close all sockets. Used for debugging/testing. |
| 10 [Sync] |
| 11 CloseCurrentConnections() => (); |
| 12 |
| 13 // Message sent from the renderer to the browser to request that the browser |
| 14 // clear the cache. Used for debugging/testing. |
| 15 // |result| is the returned status from the operation. |
| 16 [Sync] |
| 17 ClearCache() => (int32 result); |
| 18 |
| 19 // Message sent from the renderer to the browser to request that the browser |
| 20 // clear the host cache. Used for debugging/testing. |
| 21 [Sync] |
| 22 ClearHostResolverCache() => (); |
| 23 |
| 24 // Message sent from the renderer to the browser to request that the browser |
| 25 // clear the predictor cache. Used for debugging/testing. |
| 26 [Sync] |
| 27 ClearPredictorCache() => (); |
| 28 }; |
OLD | NEW |