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

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

Issue 20378: Reduce the amount of included header files. Vast change like in "Oh God! This... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 12
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "base/scoped_ptr.h" 14 #include "base/scoped_ptr.h"
15 #include "base/string_util.h" 15 #include "base/string_util.h"
16 #include "net/base/cookie_policy.h" 16 #include "net/base/cookie_policy.h"
17 #include "net/ftp/ftp_auth_cache.h" 17 #include "net/ftp/ftp_auth_cache.h"
18 #include "net/http/http_transaction_factory.h"
19 18
20 namespace net { 19 namespace net {
20 class HttpTransactionFactory;
21 class CookieMonster; 21 class CookieMonster;
22 class ProxyService; 22 class ProxyService;
23 } 23 }
24 24
25 // Subclass to provide application-specific context for URLRequest instances. 25 // Subclass to provide application-specific context for URLRequest instances.
26 class URLRequestContext : 26 class URLRequestContext :
27 public base::RefCountedThreadSafe<URLRequestContext> { 27 public base::RefCountedThreadSafe<URLRequestContext> {
28 public: 28 public:
29 URLRequestContext() 29 URLRequestContext()
30 : proxy_service_(NULL), 30 : proxy_service_(NULL),
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 net::CookiePolicy cookie_policy_; 77 net::CookiePolicy cookie_policy_;
78 net::FtpAuthCache ftp_auth_cache_; 78 net::FtpAuthCache ftp_auth_cache_;
79 std::string accept_language_; 79 std::string accept_language_;
80 std::string accept_charset_; 80 std::string accept_charset_;
81 81
82 private: 82 private:
83 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); 83 DISALLOW_COPY_AND_ASSIGN(URLRequestContext);
84 }; 84 };
85 85
86 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ 86 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698