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

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

Issue 2339223002: Cronet API Refactoring (Closed)
Patch Set: Rebase & Conflict Resolution Created 4 years, 1 month 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
« no previous file with comments | « components/cronet/tools/jar_src.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 12 matching lines...) Expand all
23 class NetLog; 23 class NetLog;
24 class URLRequestContextBuilder; 24 class URLRequestContextBuilder;
25 } // namespace net 25 } // namespace net
26 26
27 namespace cronet { 27 namespace cronet {
28 28
29 // Common configuration parameters used by Cronet to configure 29 // Common configuration parameters used by Cronet to configure
30 // URLRequestContext. 30 // URLRequestContext.
31 struct URLRequestContextConfig { 31 struct URLRequestContextConfig {
32 // Type of HTTP cache. 32 // Type of HTTP cache.
33 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.net 33 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.net.impl
34 enum HttpCacheType { 34 enum HttpCacheType {
35 // No HTTP cache. 35 // No HTTP cache.
36 DISABLED, 36 DISABLED,
37 // HTTP cache persisted to disk. 37 // HTTP cache persisted to disk.
38 DISK, 38 DISK,
39 // HTTP cache kept in memory. 39 // HTTP cache kept in memory.
40 MEMORY, 40 MEMORY,
41 }; 41 };
42 42
43 // App-provided hint that server supports QUIC. 43 // App-provided hint that server supports QUIC.
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // The list of public key pins. 172 // The list of public key pins.
173 ScopedVector<Pkp> pkp_list; 173 ScopedVector<Pkp> pkp_list;
174 174
175 private: 175 private:
176 DISALLOW_COPY_AND_ASSIGN(URLRequestContextConfig); 176 DISALLOW_COPY_AND_ASSIGN(URLRequestContextConfig);
177 }; 177 };
178 178
179 } // namespace cronet 179 } // namespace cronet
180 180
181 #endif // COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_ 181 #endif // COMPONENTS_CRONET_URL_REQUEST_CONTEXT_CONFIG_H_
OLDNEW
« no previous file with comments | « components/cronet/tools/jar_src.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698