blob: 88555b9949929ad5efe9c8b25e7cca75ecb75a84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright 2015 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.
#ifndef CHROME_BROWSER_NET_REQUEST_SOURCE_BANDWIDTH_HISTOGRAMS_H_
#define CHROME_BROWSER_NET_REQUEST_SOURCE_BANDWIDTH_HISTOGRAMS_H_
namespace net {
class URLRequest;
} // namespace net
// Records the bandwidth (currently just response size) made by |request| in a
// histogram chosen based on the source of the request (currently browser,
// renderer, or other process).
void RecordRequestSourceBandwidth(const net::URLRequest* request,
bool started);
#endif // CHROME_BROWSER_NET_REQUEST_SOURCE_BANDWIDTH_HISTOGRAMS_H_
|