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) { |