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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.h

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_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_;

Powered by Google App Engine
This is Rietveld 408576698