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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "base/process_util.h" | |
12 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
13 #include "base/test/thread_test_helper.h" | 12 #include "base/test/thread_test_helper.h" |
14 #include "content/browser/browser_main_loop.h" | 13 #include "content/browser/browser_main_loop.h" |
15 #include "content/browser/indexed_db/indexed_db_context_impl.h" | 14 #include "content/browser/indexed_db/indexed_db_context_impl.h" |
16 #include "content/browser/web_contents/web_contents_impl.h" | 15 #include "content/browser/web_contents/web_contents_impl.h" |
17 #include "content/public/browser/browser_context.h" | 16 #include "content/public/browser/browser_context.h" |
18 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
19 #include "content/public/browser/render_process_host.h" | 18 #include "content/public/browser/render_process_host.h" |
20 #include "content/public/browser/storage_partition.h" | 19 #include "content/public/browser/storage_partition.h" |
21 #include "content/public/browser/web_contents.h" | 20 #include "content/public/browser/web_contents.h" |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 base::Bind(&IndexedDBContextImpl::DeleteForOrigin, | 424 base::Bind(&IndexedDBContextImpl::DeleteForOrigin, |
426 GetContext(), | 425 GetContext(), |
427 GURL("file:///"))); | 426 GURL("file:///"))); |
428 | 427 |
429 string16 expected_title16(ASCIIToUTF16("connection closed")); | 428 string16 expected_title16(ASCIIToUTF16("connection closed")); |
430 TitleWatcher title_watcher(shell()->web_contents(), expected_title16); | 429 TitleWatcher title_watcher(shell()->web_contents(), expected_title16); |
431 EXPECT_EQ(expected_title16, title_watcher.WaitAndGetTitle()); | 430 EXPECT_EQ(expected_title16, title_watcher.WaitAndGetTitle()); |
432 } | 431 } |
433 | 432 |
434 } // namespace content | 433 } // namespace content |
OLD | NEW |