| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
|
| index cf25df9380210406fbcc62f0f38d0f7c5da332fc..374489e75d608dba4c0e829c1da306f740c7a9ba 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
|
| @@ -70,24 +70,29 @@ void DataReductionProxyService::UpdateContentLengths(
|
| }
|
| }
|
|
|
| -void DataReductionProxyService::AddEnabledEvent(scoped_ptr<base::Value> entry,
|
| +void DataReductionProxyService::AddEvent(scoped_ptr<base::Value> event) {
|
| + DCHECK(CalledOnValidThread());
|
| + event_store_->AddEvent(event.Pass());
|
| +}
|
| +
|
| +void DataReductionProxyService::AddEnabledEvent(scoped_ptr<base::Value> event,
|
| bool enabled) {
|
| DCHECK(CalledOnValidThread());
|
| - event_store_->AddEnabledEvent(entry.Pass(), enabled);
|
| + event_store_->AddEnabledEvent(event.Pass(), enabled);
|
| }
|
|
|
| void DataReductionProxyService::AddEventAndSecureProxyCheckState(
|
| - scoped_ptr<base::Value> entry,
|
| + scoped_ptr<base::Value> event,
|
| SecureProxyCheckState state) {
|
| DCHECK(CalledOnValidThread());
|
| - event_store_->AddEventAndSecureProxyCheckState(entry.Pass(), state);
|
| + event_store_->AddEventAndSecureProxyCheckState(event.Pass(), state);
|
| }
|
|
|
| void DataReductionProxyService::AddAndSetLastBypassEvent(
|
| - scoped_ptr<base::Value> entry,
|
| + scoped_ptr<base::Value> event,
|
| int64 expiration_ticks) {
|
| DCHECK(CalledOnValidThread());
|
| - event_store_->AddAndSetLastBypassEvent(entry.Pass(), expiration_ticks);
|
| + event_store_->AddAndSetLastBypassEvent(event.Pass(), expiration_ticks);
|
| }
|
|
|
| void DataReductionProxyService::SetUnreachable(bool unreachable) {
|
|
|