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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_event_storage_delegate_test_utils.cc

Issue 1105443003: Add net_log events for the Data Reduction Proxy config service client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bengr CR comments Created 5 years, 8 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_reduction_proxy/core/common/data_reduction_proxy_event_storage_delegate_test_utils.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_storage_delegate_test_utils.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_storage_delegate_test_utils.cc
index a20a68e1f6d5d505fe96182e8af277de660252f4..a916b78bab5028eccac37cd3f7e03a8fda2dae4f 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_storage_delegate_test_utils.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_storage_delegate_test_utils.cc
@@ -25,6 +25,12 @@ void TestDataReductionProxyEventStorageDelegate::SetStorageDelegate(
delegate_ = delegate;
}
+void TestDataReductionProxyEventStorageDelegate::AddEvent(
+ scoped_ptr<base::Value> event) {
+ if (delegate_)
+ delegate_->AddEvent(event.Pass());
+}
+
void TestDataReductionProxyEventStorageDelegate::AddEnabledEvent(
scoped_ptr<base::Value> event,
bool enabled) {

Powered by Google App Engine
This is Rietveld 408576698