OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" | 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram_macros.h" |
10 #include "base/prefs/pref_member.h" | 10 #include "base/prefs/pref_member.h" |
11 #include "base/prefs/pref_service.h" | 11 #include "base/prefs/pref_service.h" |
12 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp
ression_stats.h" | 12 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp
ression_stats.h" |
13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig.h" | 13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig.h" |
14 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d
ata.h" | 14 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d
ata.h" |
15 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv
ice.h" | 15 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv
ice.h" |
16 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s.h" | 16 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s.h" |
17 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_
names.h" | 17 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_
names.h" |
18 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc
hes.h" | 18 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc
hes.h" |
19 | 19 |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 int64* received_content_length, | 340 int64* received_content_length, |
341 int64* last_update_time) { | 341 int64* last_update_time) { |
342 DCHECK(thread_checker_.CalledOnValidThread()); | 342 DCHECK(thread_checker_.CalledOnValidThread()); |
343 DCHECK(data_reduction_proxy_service_->compression_stats()); | 343 DCHECK(data_reduction_proxy_service_->compression_stats()); |
344 | 344 |
345 data_reduction_proxy_service_->compression_stats()->GetContentLengths( | 345 data_reduction_proxy_service_->compression_stats()->GetContentLengths( |
346 days, original_content_length, received_content_length, last_update_time); | 346 days, original_content_length, received_content_length, last_update_time); |
347 } | 347 } |
348 | 348 |
349 } // namespace data_reduction_proxy | 349 } // namespace data_reduction_proxy |
OLD | NEW |