Chromium Code Reviews| 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 CHROME_BROWSER_NET_DATA_USE_MEASUREMENT_H_ | |
| 6 #define CHROME_BROWSER_NET_DATA_USE_MEASUREMENT_H_ | |
| 7 | |
| 8 namespace net { | |
| 9 class URLRequest; | |
| 10 } // namespace net | |
|
bengr
2015/08/07 18:00:01
No need for the comment on a single line namespace
amohammadkhan
2015/08/11 22:04:36
Done.
| |
| 11 | |
| 12 // Records the data use of |serviceType| based on the |request|. Normally used | |
| 13 // for recording data use of All the packets in ChromeNetworkDelegate because | |
| 14 // we have access to URLRequest. After extracting necessary data, such as | |
| 15 // message size in different directions, specify it is User or Not_user data and | |
| 16 // calls the other version of ReportDataUsage for recording this measurement. | |
| 17 void ReportDataUsage(const net::URLRequest* request); | |
| 18 | |
| 19 #endif // CHROME_BROWSER_NET_DATA_USE_MEASUREMENT_H_ | |
| OLD | NEW |