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

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

Issue 2913063002: PlzNavigate support in data use ascriber (Closed)
Patch Set: ryansturm comments Created 3 years, 7 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 | « components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_data_use_observer.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_data_use_observer.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_data_use_observer.cc
index 391674fadba614fb1e975dc31c5dcaa1718239e4..b7683d292a91ac57443e4759d254b7df9cccb317 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_data_use_observer.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_data_use_observer.cc
@@ -85,8 +85,9 @@ void DataReductionProxyDataUseObserver::OnPageResourceLoad(
DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
if (data_use->traffic_type() !=
- data_use_measurement::DataUse::TrafficType::USER_TRAFFIC)
+ data_use_measurement::DataUse::TrafficType::USER_TRAFFIC) {
return;
+ }
if (!request.url().SchemeIs(url::kHttpsScheme) &&
!request.url().SchemeIs(url::kHttpScheme)) {
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698