summaryrefslogtreecommitdiffstats
path: root/components/data_reduction_proxy.gypi
diff options
context:
space:
mode:
authorkundaji@chromium.org <kundaji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-25 04:36:20 +0000
committerkundaji@chromium.org <kundaji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-25 04:36:20 +0000
commitbceab7f54c854090b4264ba128bf8f70d0476912 (patch)
treed789f6702bec91598268b342dd37c04019f3c8f2 /components/data_reduction_proxy.gypi
parent9c388be0afa0ec9d7d177f54faaab9e77deda954 (diff)
downloadchromium_src-bceab7f54c854090b4264ba128bf8f70d0476912.zip
chromium_src-bceab7f54c854090b4264ba128bf8f70d0476912.tar.gz
chromium_src-bceab7f54c854090b4264ba128bf8f70d0476912.tar.bz2
Display an error message on usage settings page when proxy cannot be contacted.
Add data_reduction_proxy_usage_stats which keeps track of number of requests completed through data reduction proxy vs number of requests eligible to use data reduction proxy. Instantiate and set on io thread globals so that we can pass it to chrome network delegate. Expose isDataReductionProxyUnreachable() method to Android code through DataReductionProxySettings where it will be used to decide whether to display the unreachable proxy message. BUG=380195 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279222 Review URL: https://codereview.chromium.org/338273003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279583 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/data_reduction_proxy.gypi')
-rw-r--r--components/data_reduction_proxy.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/data_reduction_proxy.gypi b/components/data_reduction_proxy.gypi
index de00304..892620a 100644
--- a/components/data_reduction_proxy.gypi
+++ b/components/data_reduction_proxy.gypi
@@ -34,6 +34,8 @@
'data_reduction_proxy/browser/data_reduction_proxy_protocol.h',
'data_reduction_proxy/browser/data_reduction_proxy_settings.cc',
'data_reduction_proxy/browser/data_reduction_proxy_settings.h',
+ 'data_reduction_proxy/browser/data_reduction_proxy_usage_stats.cc',
+ 'data_reduction_proxy/browser/data_reduction_proxy_usage_stats.h',
'data_reduction_proxy/browser/http_auth_handler_data_reduction_proxy.cc',
'data_reduction_proxy/browser/http_auth_handler_data_reduction_proxy.h',
],