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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.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
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc
index 3cfa1ff3ab0efb085e811cbdb456613f358827a1..72ba804415d68300a832d05de35914811cc6fb18 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc
@@ -1172,6 +1172,7 @@ void DataReductionProxyCompressionStats::RecordDataUseByHost(
int64_t data_used,
int64_t original_size,
const base::Time time) {
+ DCHECK(thread_checker_.CalledOnValidThread());
if (current_data_usage_load_status_ != LOADED)
return;

Powered by Google App Engine
This is Rietveld 408576698