| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "content/public/browser/browser_context.h" | 5 #include "content/public/browser/browser_context.h" |
| 6 | 6 |
| 7 #if !defined(OS_IOS) | 7 #if !defined(OS_IOS) |
| 8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 9 #include "content/browser/appcache/chrome_appcache_service.h" | 9 #include "content/browser/appcache/chrome_appcache_service.h" |
| 10 #include "content/browser/dom_storage/dom_storage_context_impl.h" | 10 #include "content/browser/dom_storage/dom_storage_context_impl.h" |
| 11 #include "content/browser/download/download_manager_impl.h" | 11 #include "content/browser/download/download_manager_impl.h" |
| 12 #include "content/browser/in_process_webkit/indexed_db_context_impl.h" | 12 #include "content/browser/in_process_webkit/indexed_db_context_impl.h" |
| 13 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 13 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
| 14 #include "content/public/browser/site_instance.h" | |
| 15 #include "content/browser/storage_partition_impl.h" | 14 #include "content/browser/storage_partition_impl.h" |
| 16 #include "content/browser/storage_partition_impl_map.h" | 15 #include "content/browser/storage_partition_impl_map.h" |
| 17 #include "content/common/child_process_host_impl.h" | 16 #include "content/common/child_process_host_impl.h" |
| 18 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
| 19 #include "content/public/browser/content_browser_client.h" | 18 #include "content/public/browser/content_browser_client.h" |
| 20 #include "net/base/server_bound_cert_service.h" | 19 #include "content/public/browser/site_instance.h" |
| 21 #include "net/base/server_bound_cert_store.h" | |
| 22 #include "net/cookies/cookie_monster.h" | 20 #include "net/cookies/cookie_monster.h" |
| 23 #include "net/cookies/cookie_store.h" | 21 #include "net/cookies/cookie_store.h" |
| 22 #include "net/ssl/server_bound_cert_service.h" |
| 23 #include "net/ssl/server_bound_cert_store.h" |
| 24 #include "net/url_request/url_request_context.h" | 24 #include "net/url_request/url_request_context.h" |
| 25 #include "net/url_request/url_request_context_getter.h" | 25 #include "net/url_request/url_request_context_getter.h" |
| 26 #include "ui/base/clipboard/clipboard.h" | 26 #include "ui/base/clipboard/clipboard.h" |
| 27 #include "webkit/database/database_tracker.h" | 27 #include "webkit/database/database_tracker.h" |
| 28 #include "webkit/fileapi/external_mount_points.h" | 28 #include "webkit/fileapi/external_mount_points.h" |
| 29 #endif // !OS_IOS | 29 #endif // !OS_IOS |
| 30 | 30 |
| 31 using base::UserDataAdapter; | 31 using base::UserDataAdapter; |
| 32 | 32 |
| 33 namespace content { | 33 namespace content { |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 #endif // !OS_IOS | 334 #endif // !OS_IOS |
| 335 | 335 |
| 336 BrowserContext::~BrowserContext() { | 336 BrowserContext::~BrowserContext() { |
| 337 #if !defined(OS_IOS) | 337 #if !defined(OS_IOS) |
| 338 if (GetUserData(kDownloadManagerKeyName)) | 338 if (GetUserData(kDownloadManagerKeyName)) |
| 339 GetDownloadManager(this)->Shutdown(); | 339 GetDownloadManager(this)->Shutdown(); |
| 340 #endif | 340 #endif |
| 341 } | 341 } |
| 342 | 342 |
| 343 } // namespace content | 343 } // namespace content |
| OLD | NEW |