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

Unified Diff: components/data_use_measurement/content/data_use_measurement_delegate_imp.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/content/data_use_measurement_delegate_imp.h
diff --git a/components/data_use_measurement/content/data_use_measurement_delegate_imp.h b/components/data_use_measurement/content/data_use_measurement_delegate_imp.h
new file mode 100644
index 0000000000000000000000000000000000000000..a85ab8ac31b7b64426cc80ddeff08849e115e39a
--- /dev/null
+++ b/components/data_use_measurement/content/data_use_measurement_delegate_imp.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_CONTENT_DATA_USE_MEASUREMENT_DELEGATE_IMP_H_
+#define COMPONENTS_DATA_USE_MEASUREMENT_CONTENT_DATA_USE_MEASUREMENT_DELEGATE_IMP_H_
+
+#include "base/macros.h"
+#include "components/data_use_measurement/core/data_use_measurement_delegate.h"
+
+namespace net {
+class URLRequest;
+}
+
+namespace data_use_measurement {
+
+class DataUseMeasurementDelegateImp : public DataUseMeasurementDelegate {
+ public:
+ DataUseMeasurementDelegateImp();
+ ~DataUseMeasurementDelegateImp();
+
+ bool RequestIsFromUser(const net::URLRequest* request) override;
+ DISALLOW_COPY_AND_ASSIGN(DataUseMeasurementDelegateImp);
+};
+
+} // namespace data_use_measurement
+
+#endif // COMPONENTS_DATA_USE_MEASUREMENT_CONTENT_DATA_USE_MEASUREMENT_DELEGATE_IMP_H_

Powered by Google App Engine
This is Rietveld 408576698