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

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

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: REBASE Created 4 years, 3 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_unittest.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store_unittest.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store_unittest.cc
index 063b74ad2ef932b9db7788ff44b3bd339317d59c..1ecd785362c3f2f884ec1b0b7def67352b256907 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store_unittest.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store_unittest.cc
@@ -35,7 +35,7 @@ namespace data_reduction_proxy {
class DataReductionProxyEventStoreTest : public testing::Test {
public:
DataReductionProxyEventStoreTest() : net_log_(new net::TestNetLog()) {
- bound_net_log_ = net::BoundNetLog::Make(
+ bound_net_log_ = net::NetLogWithSource::Make(
net_log_.get(), net::NetLogSourceType::DATA_REDUCTION_PROXY);
}
@@ -66,9 +66,7 @@ class DataReductionProxyEventStoreTest : public testing::Test {
net::TestNetLog* net_log() { return net_log_.get(); }
- const net::BoundNetLog& bound_net_log() {
- return bound_net_log_;
- }
+ const net::NetLogWithSource& bound_net_log() { return bound_net_log_; }
size_t event_count() const { return event_store_->stored_events_.size(); }
@@ -85,7 +83,7 @@ class DataReductionProxyEventStoreTest : public testing::Test {
std::unique_ptr<net::TestNetLog> net_log_;
std::unique_ptr<DataReductionProxyEventStore> event_store_;
std::unique_ptr<DataReductionProxyEventCreator> event_creator_;
- net::BoundNetLog bound_net_log_;
+ net::NetLogWithSource bound_net_log_;
};
TEST_F(DataReductionProxyEventStoreTest, TestAddProxyEnabledEvent) {

Powered by Google App Engine
This is Rietveld 408576698