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/browser/loader/resource_scheduler.h" | 5 #include "content/browser/loader/resource_scheduler.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "content/public/test/mock_render_process_host.h" | 23 #include "content/public/test/mock_render_process_host.h" |
24 #include "content/public/test/test_browser_context.h" | 24 #include "content/public/test/test_browser_context.h" |
25 #include "content/test/test_render_view_host_factory.h" | 25 #include "content/test/test_render_view_host_factory.h" |
26 #include "content/test/test_web_contents.h" | 26 #include "content/test/test_web_contents.h" |
27 #include "net/base/host_port_pair.h" | 27 #include "net/base/host_port_pair.h" |
28 #include "net/base/request_priority.h" | 28 #include "net/base/request_priority.h" |
29 #include "net/http/http_server_properties_impl.h" | 29 #include "net/http/http_server_properties_impl.h" |
30 #include "net/url_request/url_request.h" | 30 #include "net/url_request/url_request.h" |
31 #include "net/url_request/url_request_test_util.h" | 31 #include "net/url_request/url_request_test_util.h" |
32 #include "testing/gtest/include/gtest/gtest.h" | 32 #include "testing/gtest/include/gtest/gtest.h" |
33 #include "ui/events/latency_info.h" | 33 #include "ui/latency_info/latency_info.h" |
34 #include "url/scheme_host_port.h" | 34 #include "url/scheme_host_port.h" |
35 | 35 |
36 using std::string; | 36 using std::string; |
37 | 37 |
38 namespace content { | 38 namespace content { |
39 | 39 |
40 namespace { | 40 namespace { |
41 | 41 |
42 class TestRequestFactory; | 42 class TestRequestFactory; |
43 | 43 |
(...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1169 } | 1169 } |
1170 | 1170 |
1171 std::unique_ptr<TestRequest> last_different_host( | 1171 std::unique_ptr<TestRequest> last_different_host( |
1172 NewRequest("http://host_new/last", net::LOWEST)); | 1172 NewRequest("http://host_new/last", net::LOWEST)); |
1173 EXPECT_FALSE(last_different_host->started()); | 1173 EXPECT_FALSE(last_different_host->started()); |
1174 } | 1174 } |
1175 | 1175 |
1176 } // unnamed namespace | 1176 } // unnamed namespace |
1177 | 1177 |
1178 } // namespace content | 1178 } // namespace content |
OLD | NEW |