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

Side by Side Diff: net/url_request/url_request_context_builder.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « net/url_request/url_request.h ('k') | printing/emf_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This class is useful for building a simple URLRequestContext. Most creators 5 // This class is useful for building a simple URLRequestContext. Most creators
6 // of new URLRequestContexts should use this helper class to construct it. Call 6 // of new URLRequestContexts should use this helper class to construct it. Call
7 // any configuration params, and when done, invoke Build() to construct the 7 // any configuration params, and when done, invoke Build() to construct the
8 // URLRequestContext. This URLRequestContext will own all its own storage. 8 // URLRequestContext. This URLRequestContext will own all its own storage.
9 // 9 //
10 // URLRequestContextBuilder and its associated params classes are initially 10 // URLRequestContextBuilder and its associated params classes are initially
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 ~HttpCacheParams(); 42 ~HttpCacheParams();
43 43
44 // The type of HTTP cache. Default is IN_MEMORY. 44 // The type of HTTP cache. Default is IN_MEMORY.
45 Type type; 45 Type type;
46 46
47 // The max size of the cache in bytes. Default is algorithmically determined 47 // The max size of the cache in bytes. Default is algorithmically determined
48 // based off available disk space. 48 // based off available disk space.
49 int max_size; 49 int max_size;
50 50
51 // The cache path (when type is DISK). 51 // The cache path (when type is DISK).
52 FilePath path; 52 base::FilePath path;
53 }; 53 };
54 54
55 struct NET_EXPORT HttpNetworkSessionParams { 55 struct NET_EXPORT HttpNetworkSessionParams {
56 HttpNetworkSessionParams(); 56 HttpNetworkSessionParams();
57 ~HttpNetworkSessionParams(); 57 ~HttpNetworkSessionParams();
58 58
59 // These fields mirror those in net::HttpNetworkSession::Params; 59 // These fields mirror those in net::HttpNetworkSession::Params;
60 bool ignore_certificate_errors; 60 bool ignore_certificate_errors;
61 HostMappingRules* host_mapping_rules; 61 HostMappingRules* host_mapping_rules;
62 bool http_pipelining_enabled; 62 bool http_pipelining_enabled;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 scoped_ptr<ProxyConfigService> proxy_config_service_; 126 scoped_ptr<ProxyConfigService> proxy_config_service_;
127 #endif // defined(OS_LINUX) || defined(OS_ANDROID) 127 #endif // defined(OS_LINUX) || defined(OS_ANDROID)
128 scoped_ptr<NetworkDelegate> network_delegate_; 128 scoped_ptr<NetworkDelegate> network_delegate_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(URLRequestContextBuilder); 130 DISALLOW_COPY_AND_ASSIGN(URLRequestContextBuilder);
131 }; 131 };
132 132
133 } // namespace net 133 } // namespace net
134 134
135 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_BUILDER_H_ 135 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_BUILDER_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request.h ('k') | printing/emf_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698