Popular sites on the NTP: re-download popular suggestions once per Chrome run
[chromium-blink-merge.git] / chrome / browser / net / request_source_bandwidth_histograms.h
blob88555b9949929ad5efe9c8b25e7cca75ecb75a84
1 // Copyright 2015 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.
5 #ifndef CHROME_BROWSER_NET_REQUEST_SOURCE_BANDWIDTH_HISTOGRAMS_H_
6 #define CHROME_BROWSER_NET_REQUEST_SOURCE_BANDWIDTH_HISTOGRAMS_H_
8 namespace net {
9 class URLRequest;
10 } // namespace net
12 // Records the bandwidth (currently just response size) made by |request| in a
13 // histogram chosen based on the source of the request (currently browser,
14 // renderer, or other process).
15 void RecordRequestSourceBandwidth(const net::URLRequest* request,
16 bool started);
18 #endif // CHROME_BROWSER_NET_REQUEST_SOURCE_BANDWIDTH_HISTOGRAMS_H_