Index: components/data_use_measurement/core/data_use_measurement_delegate.h |
diff --git a/components/data_use_measurement/core/data_use_measurement_delegate.h b/components/data_use_measurement/core/data_use_measurement_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..13cb20f67c42f69c890dd96f5421a366b1201e90 |
--- /dev/null |
+++ b/components/data_use_measurement/core/data_use_measurement_delegate.h |
@@ -0,0 +1,28 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_MEASUREMENT_DELEGATE_H_ |
+#define COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_MEASUREMENT_DELEGATE_H_ |
+ |
+#include "base/macros.h" |
+ |
+namespace net { |
+class URLRequest; |
+} |
+ |
+namespace data_use_measurement { |
+ |
+class DataUseMeasurementDelegate { |
+ public: |
+ DataUseMeasurementDelegate(); |
+ ~DataUseMeasurementDelegate(); |
+ |
+ virtual bool RequestIsFromUser(const net::URLRequest* request) = 0; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(DataUseMeasurementDelegate); |
+}; |
+ |
+} // namespace data_use_measurement |
+ |
+#endif // COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_MEASUREMENT_DELEGATE_H_ |