OLD | NEW |
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 CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ | 5 #ifndef CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ |
6 #define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ | 6 #define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 16 matching lines...) Expand all Loading... |
27 class ChromeURLDataManagerBackend; | 27 class ChromeURLDataManagerBackend; |
28 class ChromeURLRequestContextFactory; | 28 class ChromeURLRequestContextFactory; |
29 class IOThread; | 29 class IOThread; |
30 class PrefService; | 30 class PrefService; |
31 class Profile; | 31 class Profile; |
32 class ProfileIOData; | 32 class ProfileIOData; |
33 namespace base { | 33 namespace base { |
34 class WaitableEvent; | 34 class WaitableEvent; |
35 } | 35 } |
36 namespace net { | 36 namespace net { |
37 class DnsCertProvenanceChecker; | |
38 class NetworkDelegate; | 37 class NetworkDelegate; |
39 } | 38 } |
40 | 39 |
41 // Subclass of net::URLRequestContext which can be used to store extra | 40 // Subclass of net::URLRequestContext which can be used to store extra |
42 // information for requests. | 41 // information for requests. |
43 // | 42 // |
44 // All methods of this class must be called from the IO thread, | 43 // All methods of this class must be called from the IO thread, |
45 // including the constructor and destructor. | 44 // including the constructor and destructor. |
46 class ChromeURLRequestContext : public net::URLRequestContext { | 45 class ChromeURLRequestContext : public net::URLRequestContext { |
47 public: | 46 public: |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 | 257 |
259 // NULL if not yet initialized. Otherwise, it is the net::URLRequestContext | 258 // NULL if not yet initialized. Otherwise, it is the net::URLRequestContext |
260 // instance that was lazilly created by GetURLRequestContext. | 259 // instance that was lazilly created by GetURLRequestContext. |
261 // Access only from the IO thread. | 260 // Access only from the IO thread. |
262 scoped_refptr<net::URLRequestContext> url_request_context_; | 261 scoped_refptr<net::URLRequestContext> url_request_context_; |
263 | 262 |
264 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextGetter); | 263 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextGetter); |
265 }; | 264 }; |
266 | 265 |
267 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ | 266 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ |
OLD | NEW |