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 COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_MEASUREMENT_DELEGATE_H_ |
| 6 #define COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_MEASUREMENT_DELEGATE_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 |
| 10 namespace net { |
| 11 class URLRequest; |
| 12 } |
| 13 |
| 14 namespace data_use_measurement { |
| 15 |
| 16 class DataUseMeasurementDelegate { |
| 17 public: |
| 18 DataUseMeasurementDelegate(); |
| 19 ~DataUseMeasurementDelegate(); |
| 20 |
| 21 virtual bool RequestIsFromUser(const net::URLRequest* request) = 0; |
| 22 |
| 23 DISALLOW_COPY_AND_ASSIGN(DataUseMeasurementDelegate); |
| 24 }; |
| 25 |
| 26 } // namespace data_use_measurement |
| 27 |
| 28 #endif // COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_MEASUREMENT_DELEGATE_H_ |
OLD | NEW |