OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 17 matching lines...) Expand all Loading... | |
28 #include "net/url_request/url_request_context.h" | 28 #include "net/url_request/url_request_context.h" |
29 #include "webkit/database/database_tracker.h" | 29 #include "webkit/database/database_tracker.h" |
30 | 30 |
31 class CommandLine; | 31 class CommandLine; |
32 class PrefService; | 32 class PrefService; |
33 class Profile; | 33 class Profile; |
34 | 34 |
35 namespace net { | 35 namespace net { |
36 class DnsCertProvenanceChecker; | 36 class DnsCertProvenanceChecker; |
37 class NetworkDelegate; | 37 class NetworkDelegate; |
38 class ProxyConfig; | 38 class ProxyConfig; |
eroman
2010/11/30 02:58:54
Please delete this as it is no longer referenced.
battre (please use the other)
2010/12/02 18:06:12
Done.
| |
39 } | 39 } |
40 | 40 |
41 class ChromeURLRequestContext; | 41 class ChromeURLRequestContext; |
42 class ChromeURLRequestContextFactory; | 42 class ChromeURLRequestContextFactory; |
43 | 43 |
44 // Subclass of URLRequestContext which can be used to store extra information | 44 // Subclass of URLRequestContext which can be used to store extra information |
45 // for requests. | 45 // for requests. |
46 // | 46 // |
47 // All methods of this class must be called from the IO thread, | 47 // All methods of this class must be called from the IO thread, |
48 // including the constructor and destructor. | 48 // including the constructor and destructor. |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
381 scoped_refptr<ExtensionInfoMap> extension_info_map_; | 381 scoped_refptr<ExtensionInfoMap> extension_info_map_; |
382 | 382 |
383 FilePath profile_dir_path_; | 383 FilePath profile_dir_path_; |
384 | 384 |
385 private: | 385 private: |
386 IOThread* const io_thread_; | 386 IOThread* const io_thread_; |
387 | 387 |
388 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextFactory); | 388 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextFactory); |
389 }; | 389 }; |
390 | 390 |
391 // Creates a proxy configuration from proxy-related preferences fetched | |
392 // from |pref_service|. The relevant preferences in |pref_service| are | |
393 // initialized from the process' command line or by applicable proxy policies. | |
394 net::ProxyConfig* CreateProxyConfig(const PrefService* pref_service); | |
395 | |
396 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ | 391 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ |
OLD | NEW |