OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <memory> | 5 #include <memory> |
6 #include <set> | 6 #include <set> |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
| 12 #include "base/threading/sequenced_worker_pool.h" |
12 #include "base/threading/thread_restrictions.h" | 13 #include "base/threading/thread_restrictions.h" |
13 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
14 #include "chrome/browser/io_thread.h" | 15 #include "chrome/browser/io_thread.h" |
15 #include "chrome/browser/net/dns_probe_test_util.h" | 16 #include "chrome/browser/net/dns_probe_test_util.h" |
16 #include "chrome/browser/net/net_error_tab_helper.h" | 17 #include "chrome/browser/net/net_error_tab_helper.h" |
17 #include "chrome/browser/net/url_request_mock_util.h" | 18 #include "chrome/browser/net/url_request_mock_util.h" |
18 #include "chrome/browser/profiles/profile.h" | 19 #include "chrome/browser/profiles/profile.h" |
19 #include "chrome/browser/ui/browser.h" | 20 #include "chrome/browser/ui/browser.h" |
20 #include "chrome/browser/ui/browser_commands.h" | 21 #include "chrome/browser/ui/browser_commands.h" |
21 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 22 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
984 | 985 |
985 EXPECT_EQ(error_page::DNS_PROBE_FINISHED_INCONCLUSIVE, | 986 EXPECT_EQ(error_page::DNS_PROBE_FINISHED_INCONCLUSIVE, |
986 WaitForSentStatus()); | 987 WaitForSentStatus()); |
987 EXPECT_EQ(0, pending_status_count()); | 988 EXPECT_EQ(0, pending_status_count()); |
988 ExpectDisplayingLocalErrorPage("ERR_NAME_NOT_RESOLVED"); | 989 ExpectDisplayingLocalErrorPage("ERR_NAME_NOT_RESOLVED"); |
989 } | 990 } |
990 | 991 |
991 } // namespace | 992 } // namespace |
992 | 993 |
993 } // namespace chrome_browser_net | 994 } // namespace chrome_browser_net |
OLD | NEW |