| 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 "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "chrome/browser/extensions/extension_info_map.h" | 14 #include "chrome/browser/extensions/extension_info_map.h" |
| 15 #include "chrome/browser/extensions/extension_webrequest_api.h" | 15 #include "chrome/browser/extensions/extension_webrequest_api.h" |
| 16 #include "chrome/browser/prefs/pref_change_registrar.h" | 16 #include "chrome/browser/prefs/pref_change_registrar.h" |
| 17 #include "chrome/browser/prefs/pref_service.h" | 17 #include "chrome/browser/prefs/pref_service.h" |
| 18 #include "chrome/common/extensions/extension_icon_set.h" | 18 #include "chrome/common/extensions/extension_icon_set.h" |
| 19 #include "content/browser/appcache/chrome_appcache_service.h" | 19 #include "content/browser/appcache/chrome_appcache_service.h" |
| 20 #include "content/browser/chrome_blob_storage_context.h" | 20 #include "content/browser/chrome_blob_storage_context.h" |
| 21 #include "content/common/notification_observer.h" |
| 22 #include "content/common/notification_registrar.h" |
| 21 #include "net/base/cookie_policy.h" | 23 #include "net/base/cookie_policy.h" |
| 22 #include "net/url_request/url_request_context.h" | 24 #include "net/url_request/url_request_context.h" |
| 23 #include "net/url_request/url_request_context_getter.h" | 25 #include "net/url_request/url_request_context_getter.h" |
| 24 #include "webkit/fileapi/file_system_context.h" | 26 #include "webkit/fileapi/file_system_context.h" |
| 25 | 27 |
| 26 class ChromeURLDataManagerBackend; | 28 class ChromeURLDataManagerBackend; |
| 27 class ChromeURLRequestContextFactory; | 29 class ChromeURLRequestContextFactory; |
| 28 class IOThread; | 30 class IOThread; |
| 29 class PrefService; | 31 class PrefService; |
| 30 class Profile; | 32 class Profile; |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 | 255 |
| 254 // NULL if not yet initialized. Otherwise, it is the net::URLRequestContext | 256 // NULL if not yet initialized. Otherwise, it is the net::URLRequestContext |
| 255 // instance that was lazilly created by GetURLRequestContext. | 257 // instance that was lazilly created by GetURLRequestContext. |
| 256 // Access only from the IO thread. | 258 // Access only from the IO thread. |
| 257 scoped_refptr<net::URLRequestContext> url_request_context_; | 259 scoped_refptr<net::URLRequestContext> url_request_context_; |
| 258 | 260 |
| 259 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextGetter); | 261 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextGetter); |
| 260 }; | 262 }; |
| 261 | 263 |
| 262 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ | 264 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ |
| OLD | NEW |