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 <stdint.h> | 5 #include <stdint.h> |
6 | 6 |
7 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_
names.h" | 7 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_
names.h" |
8 | 8 |
9 namespace data_reduction_proxy { | 9 namespace data_reduction_proxy { |
10 namespace prefs { | 10 namespace prefs { |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 // before. | 184 // before. |
185 const char kDataReductionProxyWasEnabledBefore[] = | 185 const char kDataReductionProxyWasEnabledBefore[] = |
186 "spdy_proxy.was_enabled_before"; | 186 "spdy_proxy.was_enabled_before"; |
187 | 187 |
188 // An integer pref that contains the time when the data reduction proxy was last | 188 // An integer pref that contains the time when the data reduction proxy was last |
189 // enabled. Recorded only if the data reduction proxy was last enabled since | 189 // enabled. Recorded only if the data reduction proxy was last enabled since |
190 // this pref was added. | 190 // this pref was added. |
191 const char kDataReductionProxyLastEnabledTime[] = | 191 const char kDataReductionProxyLastEnabledTime[] = |
192 "data_reduction.last_enabled_time"; | 192 "data_reduction.last_enabled_time"; |
193 | 193 |
| 194 // An integer pref that contains the time when the data reduction proxy savings |
| 195 // were last cleared because the system clock was moved back by more than 1 day. |
| 196 const char kDataReductionProxySavingsClearedNegativeSystemClock[] = |
| 197 "data_reduction.savings_cleared_negative_system_clock"; |
| 198 |
194 // An int64_t pref that contains the total size of all HTTP content received | 199 // An int64_t pref that contains the total size of all HTTP content received |
195 // from the network. | 200 // from the network. |
196 const char kHttpReceivedContentLength[] = "http_received_content_length"; | 201 const char kHttpReceivedContentLength[] = "http_received_content_length"; |
197 | 202 |
198 // An int64_t pref that contains the total original size of all HTTP content | 203 // An int64_t pref that contains the total original size of all HTTP content |
199 // received over the network. | 204 // received over the network. |
200 const char kHttpOriginalContentLength[] = "http_original_content_length"; | 205 const char kHttpOriginalContentLength[] = "http_original_content_length"; |
201 | 206 |
202 // An integer pref that contains the Lo-Fi epoch for the implicit opt-out rules. | 207 // An integer pref that contains the Lo-Fi epoch for the implicit opt-out rules. |
203 // Any time this value is incremented via Finch, | 208 // Any time this value is incremented via Finch, |
(...skipping 24 matching lines...) Expand all Loading... |
228 | 233 |
229 // Pref to store the retrieval time of the last simulated Data Reduction Proxy | 234 // Pref to store the retrieval time of the last simulated Data Reduction Proxy |
230 // configuration. This is part of an experiment to see how many bytes are lost | 235 // configuration. This is part of an experiment to see how many bytes are lost |
231 // if the Data Reduction Proxy is not used due to configuration being expired | 236 // if the Data Reduction Proxy is not used due to configuration being expired |
232 // or not available. | 237 // or not available. |
233 const char kSimulatedConfigRetrieveTime[] = | 238 const char kSimulatedConfigRetrieveTime[] = |
234 "data_reduction.simulated_config_retrieve_time"; | 239 "data_reduction.simulated_config_retrieve_time"; |
235 | 240 |
236 } // namespace prefs | 241 } // namespace prefs |
237 } // namespace data_reduction_proxy | 242 } // namespace data_reduction_proxy |
OLD | NEW |