| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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 COMPONENTS_DATA_USE_MEASUREMENT_CONTENT_DATA_USE_MEASUREMENT_UTIL_H_ |
| 6 #define COMPONENTS_DATA_USE_MEASUREMENT_CONTENT_DATA_USE_MEASUREMENT_UTIL_H_ |
| 7 |
| 8 #include "components/data_use_measurement/core/data_use_measurement.h" |
| 9 |
| 10 namespace net { |
| 11 class URLRequest; |
| 12 } |
| 13 |
| 14 namespace data_use_measurement { |
| 15 |
| 16 DataUseMeasurement::IsUserInitiatedRequestCallbackType |
| 17 GetIsUserInitiatedRequestCallback(); |
| 18 |
| 19 // Returns true if the URLRequest |request| is initiated by user traffic. |
| 20 bool IsUserInitiatedRequest(const net::URLRequest& request); |
| 21 |
| 22 } // namespace data_use_measurement |
| 23 |
| 24 #endif // COMPONENTS_DATA_USE_MEASUREMENT_CONTENT_DATA_USE_MEASUREMENT_UTIL_H_ |
| OLD | NEW |