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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // the cache. | 67 // the cache. |
68 bool load_disable_cache; | 68 bool load_disable_cache; |
69 // Storage path for http cache and cookie storage. | 69 // Storage path for http cache and cookie storage. |
70 std::string storage_path; | 70 std::string storage_path; |
71 // User-Agent request header field. | 71 // User-Agent request header field. |
72 std::string user_agent; | 72 std::string user_agent; |
73 // App-provided list of servers that support QUIC. | 73 // App-provided list of servers that support QUIC. |
74 ScopedVector<QuicHint> quic_hints; | 74 ScopedVector<QuicHint> quic_hints; |
75 // Comma-separted list of QUIC connection options. | 75 // Comma-separted list of QUIC connection options. |
76 std::string quic_connection_options; | 76 std::string quic_connection_options; |
| 77 // Enable Data Reduction Proxy with authentication key. |
| 78 bool enable_data_reduction_proxy; |
| 79 std::string data_reduction_proxy_key; |
77 | 80 |
78 private: | 81 private: |
79 DISALLOW_COPY_AND_ASSIGN(URLRequestContextConfig); | 82 DISALLOW_COPY_AND_ASSIGN(URLRequestContextConfig); |
80 }; | 83 }; |
81 | 84 |
82 } // namespace cronet | 85 } // namespace cronet |
83 | 86 |
84 #endif // COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_ | 87 #endif // COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_ |
OLD | NEW |