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

Unified Diff: components/data_use_measurement/core/data_use_measurement_delegate.h

Issue 1355893004: Complete the layered architecture of data_use_measurement component. Base URL: https://chromium.googlesource.com/chromium/src.git@NewArchServices
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698