summaryrefslogtreecommitdiff
path: root/chromium/chrome/common/net_benchmarking.mojom
blob: 7a1b1a1f99e2a38097d939a0b2e74dc2e7130d24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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.
  [Sync]
  ClearCache() => ();

  // Message sent from the renderer to the browser to request that the browser
  // clear the host cache.  Used for debugging/testing.
  [Sync]
  ClearHostResolverCache() => ();

  // Message sent from the renderer to the browser to request that the browser
  // clear the predictor cache.  Used for debugging/testing.
  [Sync]
  ClearPredictorCache() => ();
};