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 <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/files/file.h" | 11 #include "base/files/file.h" |
12 #include "base/files/file_enumerator.h" | 12 #include "base/files/file_enumerator.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/files/file_util.h" | 14 #include "base/files/file_util.h" |
15 #include "base/lazy_instance.h" | 15 #include "base/lazy_instance.h" |
16 #include "base/location.h" | 16 #include "base/location.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
19 #include "base/run_loop.h" | 19 #include "base/run_loop.h" |
20 #include "base/single_thread_task_runner.h" | 20 #include "base/single_thread_task_runner.h" |
21 #include "base/strings/utf_string_conversions.h" | 21 #include "base/strings/utf_string_conversions.h" |
22 #include "base/test/thread_test_helper.h" | 22 #include "base/test/thread_test_helper.h" |
23 #include "base/threading/thread_restrictions.h" | 23 #include "base/threading/thread_restrictions.h" |
24 #include "build/build_config.h" | 24 #include "build/build_config.h" |
| 25 #include "content/browser/blob_storage/chrome_blob_storage_context.h" |
25 #include "content/browser/browser_main_loop.h" | 26 #include "content/browser/browser_main_loop.h" |
26 #include "content/browser/indexed_db/indexed_db_class_factory.h" | 27 #include "content/browser/indexed_db/indexed_db_class_factory.h" |
27 #include "content/browser/indexed_db/indexed_db_context_impl.h" | 28 #include "content/browser/indexed_db/indexed_db_context_impl.h" |
28 #include "content/browser/indexed_db/mock_browsertest_indexed_db_class_factory.h
" | 29 #include "content/browser/indexed_db/mock_browsertest_indexed_db_class_factory.h
" |
29 #include "content/browser/web_contents/web_contents_impl.h" | 30 #include "content/browser/web_contents/web_contents_impl.h" |
30 #include "content/public/browser/browser_context.h" | 31 #include "content/public/browser/browser_context.h" |
31 #include "content/public/browser/browser_thread.h" | 32 #include "content/public/browser/browser_thread.h" |
32 #include "content/public/browser/render_process_host.h" | 33 #include "content/public/browser/render_process_host.h" |
33 #include "content/public/browser/storage_partition.h" | 34 #include "content/public/browser/storage_partition.h" |
34 #include "content/public/browser/web_contents.h" | 35 #include "content/public/browser/web_contents.h" |
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 command_line->AppendSwitch(switches::kSingleProcess); | 861 command_line->AppendSwitch(switches::kSingleProcess); |
861 } | 862 } |
862 }; | 863 }; |
863 | 864 |
864 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess, | 865 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess, |
865 RenderThreadShutdownTest) { | 866 RenderThreadShutdownTest) { |
866 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html")); | 867 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html")); |
867 } | 868 } |
868 | 869 |
869 } // namespace content | 870 } // namespace content |
OLD | NEW |