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

Side by Side Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc

Issue 949533004: Rename DataReductionProxyStatisticsPrefs to DataReductionProxyCompressionStats (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_io_d ata.h" 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d ata.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/prefs/pref_member.h" 9 #include "base/prefs/pref_member.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_bypa ss_protocol.h" 11 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_bypa ss_protocol.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_conf ig.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 igurator.h" 14 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf igurator.h"
14 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_dele gate.h" 15 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_dele gate.h"
15 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_inte rceptor.h" 16 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_inte rceptor.h"
16 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw ork_delegate.h" 17 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw ork_delegate.h"
17 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_stat istics_prefs.h"
18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_usag e_stats.h" 18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_usag e_stats.h"
19 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event _store.h" 19 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event _store.h"
20 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h" 20 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h"
21 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc hes.h" 21 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc hes.h"
22 #include "net/base/net_log.h" 22 #include "net/base/net_log.h"
23 23
24 namespace data_reduction_proxy { 24 namespace data_reduction_proxy {
25 25
26 DataReductionProxyIOData::DataReductionProxyIOData( 26 DataReductionProxyIOData::DataReductionProxyIOData(
27 const Client& client, 27 const Client& client,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 if (track_proxy_bypass_statistics && !usage_stats_) { 106 if (track_proxy_bypass_statistics && !usage_stats_) {
107 usage_stats_.reset(new DataReductionProxyUsageStats( 107 usage_stats_.reset(new DataReductionProxyUsageStats(
108 config_.get(), service_, ui_task_runner_)); 108 config_.get(), service_, ui_task_runner_));
109 network_delegate->InitIODataAndUMA(ui_task_runner_, this, &enabled_, 109 network_delegate->InitIODataAndUMA(ui_task_runner_, this, &enabled_,
110 usage_stats_.get()); 110 usage_stats_.get());
111 } 111 }
112 return network_delegate.Pass(); 112 return network_delegate.Pass();
113 } 113 }
114 114
115 } // namespace data_reduction_proxy 115 } // namespace data_reduction_proxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698