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 <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
14 #include "base/linked_ptr.h" | 14 #include "base/linked_ptr.h" |
15 #include "net/base/cookie_monster.h" | |
16 #include "net/base/cookie_policy.h" | |
17 #include "chrome/browser/appcache/chrome_appcache_service.h" | 15 #include "chrome/browser/appcache/chrome_appcache_service.h" |
18 #include "chrome/browser/host_content_settings_map.h" | 16 #include "chrome/browser/host_content_settings_map.h" |
19 #include "chrome/browser/host_zoom_map.h" | 17 #include "chrome/browser/host_zoom_map.h" |
20 #include "chrome/browser/io_thread.h" | 18 #include "chrome/browser/io_thread.h" |
21 #include "chrome/browser/pref_service.h" | |
22 #include "chrome/browser/net/chrome_cookie_policy.h" | 19 #include "chrome/browser/net/chrome_cookie_policy.h" |
| 20 #include "chrome/browser/prefs/pref_service.h" |
23 #include "chrome/common/extensions/extension.h" | 21 #include "chrome/common/extensions/extension.h" |
24 #include "chrome/common/net/url_request_context_getter.h" | 22 #include "chrome/common/net/url_request_context_getter.h" |
25 #include "chrome/common/notification_registrar.h" | 23 #include "chrome/common/notification_registrar.h" |
| 24 #include "net/base/cookie_monster.h" |
| 25 #include "net/base/cookie_policy.h" |
26 #include "net/url_request/url_request_context.h" | 26 #include "net/url_request/url_request_context.h" |
27 #include "webkit/database/database_tracker.h" | 27 #include "webkit/database/database_tracker.h" |
28 | 28 |
29 class CommandLine; | 29 class CommandLine; |
30 class PrefService; | 30 class PrefService; |
31 class Profile; | 31 class Profile; |
32 | 32 |
33 namespace net { | 33 namespace net { |
34 class NetworkDelegate; | 34 class NetworkDelegate; |
35 class ProxyConfig; | 35 class ProxyConfig; |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 | 408 |
409 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextFactory); | 409 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextFactory); |
410 }; | 410 }; |
411 | 411 |
412 // Creates a proxy configuration from proxy-related preferences fetched | 412 // Creates a proxy configuration from proxy-related preferences fetched |
413 // from |pref_service|. The relevant preferences in |pref_service| are | 413 // from |pref_service|. The relevant preferences in |pref_service| are |
414 // initialized from the process' command line or by applicable proxy policies. | 414 // initialized from the process' command line or by applicable proxy policies. |
415 net::ProxyConfig* CreateProxyConfig(const PrefService* pref_service); | 415 net::ProxyConfig* CreateProxyConfig(const PrefService* pref_service); |
416 | 416 |
417 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ | 417 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ |
OLD | NEW |