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

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

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_
6 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "net/base/net_api.h" 12 #include "net/base/net_export.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 class CertVerifier; 16 class CertVerifier;
17 class CookieStore; 17 class CookieStore;
18 class DnsCertProvenanceChecker; 18 class DnsCertProvenanceChecker;
19 class DnsRRResolver; 19 class DnsRRResolver;
20 class FtpTransactionFactory; 20 class FtpTransactionFactory;
21 class HostResolver; 21 class HostResolver;
22 class HttpAuthHandlerFactory; 22 class HttpAuthHandlerFactory;
23 class HttpTransactionFactory; 23 class HttpTransactionFactory;
24 class NetLog; 24 class NetLog;
25 class NetworkDelegate; 25 class NetworkDelegate;
26 class ProxyService; 26 class ProxyService;
27 class SSLConfigService; 27 class SSLConfigService;
28 class TransportSecurityState; 28 class TransportSecurityState;
29 class URLRequestContext; 29 class URLRequestContext;
30 class URLRequestJobFactory; 30 class URLRequestJobFactory;
31 31
32 // URLRequestContextStorage is a helper class that provides storage for unowned 32 // URLRequestContextStorage is a helper class that provides storage for unowned
33 // member variables of URLRequestContext. 33 // member variables of URLRequestContext.
34 class NET_API URLRequestContextStorage { 34 class NET_EXPORT URLRequestContextStorage {
35 public: 35 public:
36 // Note that URLRequestContextStorage does not acquire a reference to 36 // Note that URLRequestContextStorage does not acquire a reference to
37 // URLRequestContext, since it is often designed to be embedded in a 37 // URLRequestContext, since it is often designed to be embedded in a
38 // URLRequestContext subclass. 38 // URLRequestContext subclass.
39 explicit URLRequestContextStorage(URLRequestContext* context); 39 explicit URLRequestContextStorage(URLRequestContext* context);
40 ~URLRequestContextStorage(); 40 ~URLRequestContextStorage();
41 41
42 // These setters will set both the member variables and call the setter on the 42 // These setters will set both the member variables and call the setter on the
43 // URLRequestContext object. 43 // URLRequestContext object.
44 44
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 scoped_ptr<HttpTransactionFactory> http_transaction_factory_; 84 scoped_ptr<HttpTransactionFactory> http_transaction_factory_;
85 scoped_ptr<FtpTransactionFactory> ftp_transaction_factory_; 85 scoped_ptr<FtpTransactionFactory> ftp_transaction_factory_;
86 scoped_ptr<URLRequestJobFactory> job_factory_; 86 scoped_ptr<URLRequestJobFactory> job_factory_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(URLRequestContextStorage); 88 DISALLOW_COPY_AND_ASSIGN(URLRequestContextStorage);
89 }; 89 };
90 90
91 } // namespace net 91 } // namespace net
92 92
93 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_ 93 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698