Index: components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.h |
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.h |
index e55eb044dc5197a5b64db3144cdb9e7f1ed27933..e42133ac0d397edd9b0a5d61384e2391ef107450 100644 |
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.h |
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.h |
@@ -42,6 +42,9 @@ class DataReductionProxyEventStore |
// The caller is responsible for deleting the returned value. |
base::Value* GetSummaryValue() const; |
+ // Adds DATA_REDUCTION_PROXY event with no parameters to the event store. |
+ void AddEvent(scoped_ptr<base::Value> event) override; |
+ |
// Override of DataReductionProxyEventStorageDelegate. |
// Put |entry| on the deque of stored events and set |current_configuration_|. |
void AddEnabledEvent(scoped_ptr<base::Value> entry, bool enabled) override; |
@@ -73,9 +76,6 @@ class DataReductionProxyEventStore |
FRIEND_TEST_ALL_PREFIXES(DataReductionProxyEventStoreTest, |
TestEndSecureProxyCheck); |
- // Put |entry| on a deque of events to store |
- void AddEvent(scoped_ptr<base::Value> entry); |
- |
// A deque of data reduction proxy related events. It is used as a circular |
// buffer to prevent unbounded memory utilization. |
std::deque<base::Value*> stored_events_; |