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" | |
13 #include "base/threading/thread_restrictions.h" | 12 #include "base/threading/thread_restrictions.h" |
14 #include "chrome/browser/browser_process.h" | 13 #include "chrome/browser/browser_process.h" |
15 #include "chrome/browser/io_thread.h" | 14 #include "chrome/browser/io_thread.h" |
16 #include "chrome/browser/net/dns_probe_test_util.h" | 15 #include "chrome/browser/net/dns_probe_test_util.h" |
17 #include "chrome/browser/net/net_error_tab_helper.h" | 16 #include "chrome/browser/net/net_error_tab_helper.h" |
18 #include "chrome/browser/net/url_request_mock_util.h" | 17 #include "chrome/browser/net/url_request_mock_util.h" |
19 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
20 #include "chrome/browser/ui/browser.h" | 19 #include "chrome/browser/ui/browser.h" |
21 #include "chrome/browser/ui/browser_commands.h" | 20 #include "chrome/browser/ui/browser_commands.h" |
22 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 21 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 | 984 |
986 EXPECT_EQ(error_page::DNS_PROBE_FINISHED_INCONCLUSIVE, | 985 EXPECT_EQ(error_page::DNS_PROBE_FINISHED_INCONCLUSIVE, |
987 WaitForSentStatus()); | 986 WaitForSentStatus()); |
988 EXPECT_EQ(0, pending_status_count()); | 987 EXPECT_EQ(0, pending_status_count()); |
989 ExpectDisplayingLocalErrorPage("ERR_NAME_NOT_RESOLVED"); | 988 ExpectDisplayingLocalErrorPage("ERR_NAME_NOT_RESOLVED"); |
990 } | 989 } |
991 | 990 |
992 } // namespace | 991 } // namespace |
993 | 992 |
994 } // namespace chrome_browser_net | 993 } // namespace chrome_browser_net |
OLD | NEW |