OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef NET_URL_REQUEST_DATA_USE_MEASUREMENT_H_ | |
6 #define NET_URL_REQUEST_DATA_USE_MEASUREMENT_H_ | |
7 | |
8 namespace net { | |
9 class URLFetcher; | |
10 } // namespace net | |
11 | |
12 // Records the data use of |service_name| based on the information included in | |
13 // fetcher. Normally used for recording data use of services using URLFetcher. | |
14 // After extracting necessary data, such as message size in different | |
15 // directions, calls the function to record use in DataUse.Services.{Dimensions} | |
16 // and DataUse.Service.|service_name| histograms. | |
17 void DataUseReport(const std::string& service_name, | |
bengr
2015/08/07 18:00:01
I don't think you should have files for this lone
amohammadkhan
2015/08/11 22:04:36
Done.
| |
18 const net::URLFetcher* fetcher); | |
19 | |
20 #endif // NET_URL_REQUEST_DATA_USE_MEASUREMENT_H_ | |
OLD | NEW |