Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: components/cronet/url_request_context_config.h

Issue 1833203002: Plumb SSLKEYLOGFILE from Cronet to net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comment Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/scoped_vector.h" 13 #include "base/memory/scoped_vector.h"
12 #include "base/time/time.h" 14 #include "base/time/time.h"
13 #include "net/base/hash_value.h" 15 #include "net/base/hash_value.h"
14 16
17 namespace base {
18 class SequencedTaskRunner;
19 } // namespace base
20
15 namespace net { 21 namespace net {
16 class CertVerifier; 22 class CertVerifier;
17 class NetLog; 23 class NetLog;
18 class URLRequestContextBuilder; 24 class URLRequestContextBuilder;
19 } // namespace net 25 } // namespace net
20 26
21 namespace cronet { 27 namespace cronet {
22 28
23 // Common configuration parameters used by Cronet to configure 29 // Common configuration parameters used by Cronet to configure
24 // URLRequestContext. 30 // URLRequestContext.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 const std::string& data_reduction_fallback_proxy, 106 const std::string& data_reduction_fallback_proxy,
101 // Data reduction proxy secure proxy check URL. 107 // Data reduction proxy secure proxy check URL.
102 const std::string& data_reduction_secure_proxy_check_url, 108 const std::string& data_reduction_secure_proxy_check_url,
103 // MockCertVerifier to use for testing purposes. 109 // MockCertVerifier to use for testing purposes.
104 scoped_ptr<net::CertVerifier> mock_cert_verifier); 110 scoped_ptr<net::CertVerifier> mock_cert_verifier);
105 ~URLRequestContextConfig(); 111 ~URLRequestContextConfig();
106 112
107 // Configure |context_builder| based on |this|. 113 // Configure |context_builder| based on |this|.
108 void ConfigureURLRequestContextBuilder( 114 void ConfigureURLRequestContextBuilder(
109 net::URLRequestContextBuilder* context_builder, 115 net::URLRequestContextBuilder* context_builder,
110 net::NetLog* net_log); 116 net::NetLog* net_log,
117 const scoped_refptr<base::SequencedTaskRunner>& file_task_runner);
111 118
112 // Enable QUIC. 119 // Enable QUIC.
113 const bool enable_quic; 120 const bool enable_quic;
114 // QUIC User Agent ID. 121 // QUIC User Agent ID.
115 const std::string quic_user_agent_id; 122 const std::string quic_user_agent_id;
116 // Enable SPDY. 123 // Enable SPDY.
117 const bool enable_spdy; 124 const bool enable_spdy;
118 // Enable SDCH. 125 // Enable SDCH.
119 const bool enable_sdch; 126 const bool enable_sdch;
120 // Type of http cache. 127 // Type of http cache.
(...skipping 29 matching lines...) Expand all
150 // The list of public key pins. 157 // The list of public key pins.
151 ScopedVector<Pkp> pkp_list; 158 ScopedVector<Pkp> pkp_list;
152 159
153 private: 160 private:
154 DISALLOW_COPY_AND_ASSIGN(URLRequestContextConfig); 161 DISALLOW_COPY_AND_ASSIGN(URLRequestContextConfig);
155 }; 162 };
156 163
157 } // namespace cronet 164 } // namespace cronet
158 165
159 #endif // COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_ 166 #endif // COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_
OLDNEW
« no previous file with comments | « components/cronet/android/url_request_context_adapter.cc ('k') | components/cronet/url_request_context_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698