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 #ifndef COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_ | 5 #ifndef COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_ |
6 #define COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_ | 6 #define COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/json/json_value_converter.h" | 10 #include "base/json/json_value_converter.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // the cache. | 69 // the cache. |
70 bool load_disable_cache; | 70 bool load_disable_cache; |
71 // Storage path for http cache and cookie storage. | 71 // Storage path for http cache and cookie storage. |
72 std::string storage_path; | 72 std::string storage_path; |
73 // User-Agent request header field. | 73 // User-Agent request header field. |
74 std::string user_agent; | 74 std::string user_agent; |
75 // App-provided list of servers that support QUIC. | 75 // App-provided list of servers that support QUIC. |
76 ScopedVector<QuicHint> quic_hints; | 76 ScopedVector<QuicHint> quic_hints; |
77 // Comma-separted list of QUIC connection options. | 77 // Comma-separted list of QUIC connection options. |
78 std::string quic_connection_options; | 78 std::string quic_connection_options; |
| 79 // Enable Data Reduction Proxy with authentication key. |
| 80 std::string data_reduction_proxy_key; |
| 81 std::string data_reduction_primary_proxy; |
| 82 std::string data_reduction_fallback_proxy; |
| 83 std::string data_reduction_secure_proxy_check_url; |
79 | 84 |
80 private: | 85 private: |
81 DISALLOW_COPY_AND_ASSIGN(URLRequestContextConfig); | 86 DISALLOW_COPY_AND_ASSIGN(URLRequestContextConfig); |
82 }; | 87 }; |
83 | 88 |
84 } // namespace cronet | 89 } // namespace cronet |
85 | 90 |
86 #endif // COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_ | 91 #endif // COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_ |
OLD | NEW |