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

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

Issue 6990057: It suffices to just forward-declare DnsCertProvenanceChecker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 represents contextual information (cookies, cache, etc.) 5 // This class represents contextual information (cookies, cache, etc.)
6 // that's useful when processing resource requests. 6 // that's useful when processing resource requests.
7 // The class is reference-counted so that it can be cleaned up after any 7 // The class is reference-counted so that it can be cleaned up after any
8 // requests that are using it have been completed. 8 // requests that are using it have been completed.
9 9
10 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ 10 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_
11 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ 11 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_
12 #pragma once 12 #pragma once
13 13
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/threading/non_thread_safe.h" 15 #include "base/threading/non_thread_safe.h"
16 #include "net/base/net_api.h" 16 #include "net/base/net_api.h"
17 #include "net/base/net_log.h" 17 #include "net/base/net_log.h"
18 #include "net/base/ssl_config_service.h" 18 #include "net/base/ssl_config_service.h"
19 #include "net/base/transport_security_state.h" 19 #include "net/base/transport_security_state.h"
20 #include "net/ftp/ftp_auth_cache.h" 20 #include "net/ftp/ftp_auth_cache.h"
21 #include "net/socket/dns_cert_provenance_checker.h"
wtc 2011/05/24 14:53:37 We only need the forward declaration on line 26.
22 21
23 namespace net { 22 namespace net {
24 class CertVerifier; 23 class CertVerifier;
25 class CookieStore; 24 class CookieStore;
26 class DnsCertProvenanceChecker; 25 class DnsCertProvenanceChecker;
27 class DnsRRResolver; 26 class DnsRRResolver;
28 class FtpTransactionFactory; 27 class FtpTransactionFactory;
29 class HostResolver; 28 class HostResolver;
30 class HttpAuthHandlerFactory; 29 class HttpAuthHandlerFactory;
31 class HttpTransactionFactory; 30 class HttpTransactionFactory;
32 class NetworkDelegate; 31 class NetworkDelegate;
33 class ProxyService; 32 class ProxyService;
34 class SSLConfigService;
wtc 2011/05/24 14:53:37 We include "net/base/ssl_config_service.h" on line
35 class URLRequest; 33 class URLRequest;
36 class URLRequestJobFactory; 34 class URLRequestJobFactory;
37 35
38 // Subclass to provide application-specific context for URLRequest 36 // Subclass to provide application-specific context for URLRequest
39 // instances. Note that URLRequestContext typically does not provide storage for 37 // instances. Note that URLRequestContext typically does not provide storage for
40 // these member variables, since they may be shared. For the ones that aren't 38 // these member variables, since they may be shared. For the ones that aren't
41 // shared, URLRequestContextStorage can be helpful in defining their storage. 39 // shared, URLRequestContextStorage can be helpful in defining their storage.
42 class NET_API URLRequestContext 40 class NET_API URLRequestContext
43 : public base::RefCountedThreadSafe<URLRequestContext>, 41 : public base::RefCountedThreadSafe<URLRequestContext>,
44 NON_EXPORTED_BASE(public base::NonThreadSafe) { 42 NON_EXPORTED_BASE(public base::NonThreadSafe) {
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // Important: When adding any new members below, consider whether they need to 211 // Important: When adding any new members below, consider whether they need to
214 // be added to CopyFrom. 212 // be added to CopyFrom.
215 // --------------------------------------------------------------------------- 213 // ---------------------------------------------------------------------------
216 214
217 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); 215 DISALLOW_COPY_AND_ASSIGN(URLRequestContext);
218 }; 216 };
219 217
220 } // namespace net 218 } // namespace net
221 219
222 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ 220 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/chrome_url_request_context.h ('k') | net/url_request/url_request_context_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698