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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 PROCESS_TYPE_RENDERER, // process_type | 171 PROCESS_TYPE_RENDERER, // process_type |
172 child_id, // child_id | 172 child_id, // child_id |
173 route_id, // route_id | 173 route_id, // route_id |
174 0, // origin_pid | 174 0, // origin_pid |
175 ++next_request_id_, // request_id | 175 ++next_request_id_, // request_id |
176 MSG_ROUTING_NONE, // render_frame_id | 176 MSG_ROUTING_NONE, // render_frame_id |
177 false, // is_main_frame | 177 false, // is_main_frame |
178 false, // parent_is_main_frame | 178 false, // parent_is_main_frame |
179 0, // parent_render_frame_id | 179 0, // parent_render_frame_id |
180 RESOURCE_TYPE_SUB_RESOURCE, // resource_type | 180 RESOURCE_TYPE_SUB_RESOURCE, // resource_type |
181 PAGE_TRANSITION_LINK, // transition_type | 181 ui::PAGE_TRANSITION_LINK, // transition_type |
182 false, // should_replace_current_entry | 182 false, // should_replace_current_entry |
183 false, // is_download | 183 false, // is_download |
184 false, // is_stream | 184 false, // is_stream |
185 true, // allow_download | 185 true, // allow_download |
186 false, // has_user_gesture | 186 false, // has_user_gesture |
187 false, // enable_load_timing | 187 false, // enable_load_timing |
188 blink::WebReferrerPolicyDefault, // referrer_policy | 188 blink::WebReferrerPolicyDefault, // referrer_policy |
189 blink::WebPageVisibilityStateVisible, // visibility_state | 189 blink::WebPageVisibilityStateVisible, // visibility_state |
190 NULL, // context | 190 NULL, // context |
191 base::WeakPtr<ResourceMessageFilter>(), // filter | 191 base::WeakPtr<ResourceMessageFilter>(), // filter |
(...skipping 1979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2171 web_contents_2.reset(); | 2171 web_contents_2.reset(); |
2172 base::RunLoop().RunUntilIdle(); | 2172 base::RunLoop().RunUntilIdle(); |
2173 | 2173 |
2174 browser_context.reset(); | 2174 browser_context.reset(); |
2175 render_process_host_factory.reset(); | 2175 render_process_host_factory.reset(); |
2176 } | 2176 } |
2177 | 2177 |
2178 } // unnamed namespace | 2178 } // unnamed namespace |
2179 | 2179 |
2180 } // namespace content | 2180 } // namespace content |
OLD | NEW |