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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc

Issue 2315613002: Extracted NetLog class's inner enum types into their own enum classes and (Closed)
Patch Set: Ran "git cl format" on code. Much formatting ensued. 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/browser/data_reduction_proxy_metrics_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
index d1f5ba39b9385d2272e7efa96b51cf64c1bb9879..435239257b9e1016abd414841a0e48fea38ac47a 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
@@ -15,6 +15,7 @@
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h"
#include "net/base/load_flags.h"
#include "net/log/net_log.h"
+#include "net/log/net_log_source_type.h"
#include "net/proxy/proxy_server.h"
#include "net/proxy/proxy_service.h"
#include "net/socket/socket_test_util.h"
@@ -187,7 +188,8 @@ TEST(ChromeNetworkDailyDataSavingMetricsTest,
EXPECT_TRUE(context.proxy_service()->MarkProxiesAsBadUntil(
proxy_info, test_case.bypass_duration,
std::vector<net::ProxyServer>(),
- net::BoundNetLog::Make(context.net_log(), net::NetLog::SOURCE_NONE)));
+ net::BoundNetLog::Make(context.net_log(),
+ net::NetLogSourceType::NONE)));
}
EXPECT_EQ(test_case.expected_request_type,

Powered by Google App Engine
This is Rietveld 408576698