Chromium Code Reviews| 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/common/data_reduction_proxy_switc hes.h" | 5 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc hes.h" |
| 6 | 6 |
| 7 namespace data_reduction_proxy { | 7 namespace data_reduction_proxy { |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 // Clear data savings on Chrome startup. | 10 // Clear data savings on Chrome startup. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 72 const char kEnableDataReductionProxy[] = "enable-spdy-proxy-auth"; | 72 const char kEnableDataReductionProxy[] = "enable-spdy-proxy-auth"; |
| 73 | 73 |
| 74 // Enable the data reduction proxy bypass warning. | 74 // Enable the data reduction proxy bypass warning. |
| 75 const char kEnableDataReductionProxyBypassWarning[] = | 75 const char kEnableDataReductionProxyBypassWarning[] = |
| 76 "enable-data-reduction-proxy-bypass-warning"; | 76 "enable-data-reduction-proxy-bypass-warning"; |
| 77 | 77 |
| 78 // Enables the origin of the carrier test data reduction proxy. | 78 // Enables the origin of the carrier test data reduction proxy. |
| 79 const char kEnableDataReductionProxyCarrierTest[] = | 79 const char kEnableDataReductionProxyCarrierTest[] = |
| 80 "enable-data-reduction-proxy-carrier-test"; | 80 "enable-data-reduction-proxy-carrier-test"; |
| 81 | 81 |
| 82 // Enables preview mode for Lo-Fi. This means a preview should be requested | 82 // Enables lite page previews from the data reduction proxy. This means a |
| 83 // instead of placeholders whenever Lo-Fi mode is on. Lo-Fi must also be enabled | 83 // lite page should be requested instead of placeholders whenever Lo-Fi mode is |
| 84 // via a flag or field trial. | 84 // on. Lo-Fi must also be enabled via a flag or field trial. |
| 85 const char kEnableDataReductionProxyLoFiPreview[] = | 85 const char kEnableDataReductionProxyLitePage[] = |
| 86 "enable-data-reduction-proxy-lo-fi-preview"; | 86 "enable-data-reduction-proxy-lite-page"; |
|
bengr
2016/09/22 22:04:48
Please fix all integration tests along with this c
tbansal1
2016/09/23 00:08:41
nit: you will also need to update the field trial
megjablon
2016/09/27 00:08:11
Done.
| |
| 87 | 87 |
| 88 // Enables sending a pageload metrics pingback after every page load. | 88 // Enables sending a pageload metrics pingback after every page load. |
| 89 const char kEnableDataReductionProxyForcePingback[] = | 89 const char kEnableDataReductionProxyForcePingback[] = |
| 90 "enable-data-reduction-proxy-force-pingback"; | 90 "enable-data-reduction-proxy-force-pingback"; |
| 91 | 91 |
| 92 } // namespace switches | 92 } // namespace switches |
| 93 } // namespace data_reduction_proxy | 93 } // namespace data_reduction_proxy |
| OLD | NEW |