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 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <limits> | 10 #include <limits> |
11 #include <memory> | 11 #include <memory> |
12 #include <utility> | 12 #include <utility> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/guid.h" | 16 #include "base/guid.h" |
17 #include "base/lazy_instance.h" | 17 #include "base/lazy_instance.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/rand_util.h" | 19 #include "base/rand_util.h" |
20 #include "build/build_config.h" | 20 #include "build/build_config.h" |
| 21 #include "content/browser/blob_storage/chrome_blob_storage_context.h" |
21 #include "content/browser/download/download_manager_impl.h" | 22 #include "content/browser/download/download_manager_impl.h" |
22 #include "content/browser/fileapi/chrome_blob_storage_context.h" | |
23 #include "content/browser/indexed_db/indexed_db_context_impl.h" | 23 #include "content/browser/indexed_db/indexed_db_context_impl.h" |
24 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 24 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
25 #include "content/browser/mojo/browser_shell_connection.h" | 25 #include "content/browser/mojo/browser_shell_connection.h" |
26 #include "content/browser/mojo/constants.h" | 26 #include "content/browser/mojo/constants.h" |
27 #include "content/browser/push_messaging/push_messaging_router.h" | 27 #include "content/browser/push_messaging/push_messaging_router.h" |
28 #include "content/browser/storage_partition_impl_map.h" | 28 #include "content/browser/storage_partition_impl_map.h" |
29 #include "content/common/child_process_host_impl.h" | 29 #include "content/common/child_process_host_impl.h" |
30 #include "content/public/browser/blob_handle.h" | 30 #include "content/public/browser/blob_handle.h" |
31 #include "content/public/browser/browser_thread.h" | 31 #include "content/public/browser/browser_thread.h" |
32 #include "content/public/browser/content_browser_client.h" | 32 #include "content/public/browser/content_browser_client.h" |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 BrowserContext::~BrowserContext() { | 447 BrowserContext::~BrowserContext() { |
448 CHECK(GetUserData(kMojoWasInitialized)) | 448 CHECK(GetUserData(kMojoWasInitialized)) |
449 << "Attempting to destroy a BrowserContext that never called " | 449 << "Attempting to destroy a BrowserContext that never called " |
450 << "Initialize()"; | 450 << "Initialize()"; |
451 | 451 |
452 if (GetUserData(kDownloadManagerKeyName)) | 452 if (GetUserData(kDownloadManagerKeyName)) |
453 GetDownloadManager(this)->Shutdown(); | 453 GetDownloadManager(this)->Shutdown(); |
454 } | 454 } |
455 | 455 |
456 } // namespace content | 456 } // namespace content |
OLD | NEW |