Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: chrome/browser/net/data_use_measurement.h

Issue 1279543002: Support needed to measure user and service traffic in Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@NewHistogram
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698