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

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

Issue 1154623008: Fix the secure proxy check state displayed on net-internals#bandwidth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sclittle CR comment Created 5 years, 6 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
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/common/data_reduction_proxy_event_store_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/common/data_reduction_proxy_event_creator.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_creator.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_creator.cc
index b84e0f96f79a158e7eee0ca152f1a3190890b6f3..f837eb4ba5b128b7d8c7522b3aac4820db437ab5 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_creator.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_creator.cc
@@ -257,8 +257,8 @@ void DataReductionProxyEventCreator::EndSecureProxyCheck(
PostBoundNetLogSecureProxyCheckEvent(
net_log, net::NetLog::TYPE_DATA_REDUCTION_PROXY_CANARY_REQUEST,
net::NetLog::PHASE_END,
- net_error == 0 ? DataReductionProxyEventStorageDelegate::CHECK_SUCCESS
- : DataReductionProxyEventStorageDelegate::CHECK_FAILED,
+ succeeded ? DataReductionProxyEventStorageDelegate::CHECK_SUCCESS
+ : DataReductionProxyEventStorageDelegate::CHECK_FAILED,
parameters_callback);
}
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/common/data_reduction_proxy_event_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698