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 "base/memory/scoped_vector.h" | 7 #include "base/memory/scoped_vector.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
(...skipping 14 matching lines...) Expand all Loading... |
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/events/latency_info.h" |
34 | 34 |
| 35 using std::string; |
| 36 |
35 namespace content { | 37 namespace content { |
36 | 38 |
37 namespace { | 39 namespace { |
38 | 40 |
39 class TestRequestFactory; | 41 class TestRequestFactory; |
40 | 42 |
41 const int kChildId = 30; | 43 const int kChildId = 30; |
42 const int kRouteId = 75; | 44 const int kRouteId = 75; |
43 const int kChildId2 = 43; | 45 const int kChildId2 = 43; |
44 const int kRouteId2 = 67; | 46 const int kRouteId2 = 67; |
(...skipping 2160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2205 web_contents_2.reset(); | 2207 web_contents_2.reset(); |
2206 base::RunLoop().RunUntilIdle(); | 2208 base::RunLoop().RunUntilIdle(); |
2207 | 2209 |
2208 browser_context.reset(); | 2210 browser_context.reset(); |
2209 render_process_host_factory.reset(); | 2211 render_process_host_factory.reset(); |
2210 } | 2212 } |
2211 | 2213 |
2212 } // unnamed namespace | 2214 } // unnamed namespace |
2213 | 2215 |
2214 } // namespace content | 2216 } // namespace content |
OLD | NEW |