| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   184         0,                                       // parent_render_frame_id |   184         0,                                       // parent_render_frame_id | 
|   185         RESOURCE_TYPE_SUB_RESOURCE,              // resource_type |   185         RESOURCE_TYPE_SUB_RESOURCE,              // resource_type | 
|   186         ui::PAGE_TRANSITION_LINK,                // transition_type |   186         ui::PAGE_TRANSITION_LINK,                // transition_type | 
|   187         false,                                   // should_replace_current_entry |   187         false,                                   // should_replace_current_entry | 
|   188         false,                                   // is_download |   188         false,                                   // is_download | 
|   189         false,                                   // is_stream |   189         false,                                   // is_stream | 
|   190         true,                                    // allow_download |   190         true,                                    // allow_download | 
|   191         false,                                   // has_user_gesture |   191         false,                                   // has_user_gesture | 
|   192         false,                                   // enable_load_timing |   192         false,                                   // enable_load_timing | 
|   193         false,                                   // enable_upload_progress |   193         false,                                   // enable_upload_progress | 
 |   194         false,                                   // do_not_prompt_for_login | 
|   194         blink::WebReferrerPolicyDefault,         // referrer_policy |   195         blink::WebReferrerPolicyDefault,         // referrer_policy | 
|   195         blink::WebPageVisibilityStateVisible,    // visibility_state |   196         blink::WebPageVisibilityStateVisible,    // visibility_state | 
|   196         NULL,                                    // context |   197         NULL,                                    // context | 
|   197         base::WeakPtr<ResourceMessageFilter>(),  // filter |   198         base::WeakPtr<ResourceMessageFilter>(),  // filter | 
|   198         is_async);                               // is_async |   199         is_async);                               // is_async | 
|   199     info->AssociateWithRequest(url_request.get()); |   200     info->AssociateWithRequest(url_request.get()); | 
|   200     return url_request.Pass(); |   201     return url_request.Pass(); | 
|   201   } |   202   } | 
|   202  |   203  | 
|   203   scoped_ptr<net::URLRequest> NewURLRequest(const char* url, |   204   scoped_ptr<net::URLRequest> NewURLRequest(const char* url, | 
| (...skipping 2003 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2207   web_contents_2.reset(); |  2208   web_contents_2.reset(); | 
|  2208   base::RunLoop().RunUntilIdle(); |  2209   base::RunLoop().RunUntilIdle(); | 
|  2209  |  2210  | 
|  2210   browser_context.reset(); |  2211   browser_context.reset(); | 
|  2211   render_process_host_factory.reset(); |  2212   render_process_host_factory.reset(); | 
|  2212 } |  2213 } | 
|  2213  |  2214  | 
|  2214 }  // unnamed namespace |  2215 }  // unnamed namespace | 
|  2215  |  2216  | 
|  2216 }  // namespace content |  2217 }  // namespace content | 
| OLD | NEW |