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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading | 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading |
6 | 6 |
7 #include "content/child/resource_dispatcher.h" | 7 #include "content/child/resource_dispatcher.h" |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 request->allow_download = extra_data->allow_download(); | 783 request->allow_download = extra_data->allow_download(); |
784 request->transition_type = extra_data->transition_type(); | 784 request->transition_type = extra_data->transition_type(); |
785 request->should_replace_current_entry = | 785 request->should_replace_current_entry = |
786 extra_data->should_replace_current_entry(); | 786 extra_data->should_replace_current_entry(); |
787 request->transferred_request_child_id = | 787 request->transferred_request_child_id = |
788 extra_data->transferred_request_child_id(); | 788 extra_data->transferred_request_child_id(); |
789 request->transferred_request_request_id = | 789 request->transferred_request_request_id = |
790 extra_data->transferred_request_request_id(); | 790 extra_data->transferred_request_request_id(); |
791 request->service_worker_provider_id = | 791 request->service_worker_provider_id = |
792 extra_data->service_worker_provider_id(); | 792 extra_data->service_worker_provider_id(); |
| 793 request->lofi_state = extra_data->lofi_state(); |
793 request->request_body = request_body; | 794 request->request_body = request_body; |
794 if (frame_origin) | 795 if (frame_origin) |
795 *frame_origin = extra_data->frame_origin(); | 796 *frame_origin = extra_data->frame_origin(); |
796 return request.Pass(); | 797 return request.Pass(); |
797 } | 798 } |
798 | 799 |
799 } // namespace content | 800 } // namespace content |
OLD | NEW |