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> |
11 | 11 |
12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
13 #include "chrome/browser/appcache/chrome_appcache_service.h" | |
14 #include "chrome/browser/chrome_blob_storage_context.h" | |
15 #include "chrome/browser/content_settings/host_content_settings_map.h" | 13 #include "chrome/browser/content_settings/host_content_settings_map.h" |
16 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 14 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
17 #include "chrome/browser/extensions/extension_info_map.h" | 15 #include "chrome/browser/extensions/extension_info_map.h" |
18 #include "chrome/browser/extensions/extension_webrequest_api.h" | 16 #include "chrome/browser/extensions/extension_webrequest_api.h" |
19 #include "chrome/browser/host_zoom_map.h" | |
20 #include "chrome/browser/prefs/pref_change_registrar.h" | 17 #include "chrome/browser/prefs/pref_change_registrar.h" |
21 #include "chrome/browser/prefs/pref_service.h" | 18 #include "chrome/browser/prefs/pref_service.h" |
22 #include "chrome/browser/prerender/prerender_manager.h" | 19 #include "chrome/browser/prerender/prerender_manager.h" |
23 #include "chrome/common/extensions/extension_icon_set.h" | 20 #include "chrome/common/extensions/extension_icon_set.h" |
24 #include "chrome/common/net/url_request_context_getter.h" | 21 #include "chrome/common/net/url_request_context_getter.h" |
| 22 #include "content/browser/appcache/chrome_appcache_service.h" |
| 23 #include "content/browser/chrome_blob_storage_context.h" |
| 24 #include "content/browser/host_zoom_map.h" |
25 #include "net/base/cookie_policy.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 #include "webkit/fileapi/file_system_context.h" | 28 #include "webkit/fileapi/file_system_context.h" |
29 | 29 |
30 class ChromeCookiePolicy; | 30 class ChromeCookiePolicy; |
31 class ChromeURLDataManagerBackend; | 31 class ChromeURLDataManagerBackend; |
32 class ChromeURLRequestContextFactory; | 32 class ChromeURLRequestContextFactory; |
33 class IOThread; | 33 class IOThread; |
34 namespace net { | 34 namespace net { |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 | 271 |
272 // NULL if not yet initialized. Otherwise, it is the net::URLRequestContext | 272 // NULL if not yet initialized. Otherwise, it is the net::URLRequestContext |
273 // instance that was lazilly created by GetURLRequestContext. | 273 // instance that was lazilly created by GetURLRequestContext. |
274 // Access only from the IO thread. | 274 // Access only from the IO thread. |
275 scoped_refptr<net::URLRequestContext> url_request_context_; | 275 scoped_refptr<net::URLRequestContext> url_request_context_; |
276 | 276 |
277 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextGetter); | 277 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextGetter); |
278 }; | 278 }; |
279 | 279 |
280 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ | 280 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ |
OLD | NEW |