Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Side by Side Diff: content/child/resource_dispatcher.cc

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fixes Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 request->allow_download = extra_data->allow_download(); 782 request->allow_download = extra_data->allow_download();
783 request->transition_type = extra_data->transition_type(); 783 request->transition_type = extra_data->transition_type();
784 request->should_replace_current_entry = 784 request->should_replace_current_entry =
785 extra_data->should_replace_current_entry(); 785 extra_data->should_replace_current_entry();
786 request->transferred_request_child_id = 786 request->transferred_request_child_id =
787 extra_data->transferred_request_child_id(); 787 extra_data->transferred_request_child_id();
788 request->transferred_request_request_id = 788 request->transferred_request_request_id =
789 extra_data->transferred_request_request_id(); 789 extra_data->transferred_request_request_id();
790 request->service_worker_provider_id = 790 request->service_worker_provider_id =
791 extra_data->service_worker_provider_id(); 791 extra_data->service_worker_provider_id();
792 request->lofi_state = extra_data->lofi_state();
792 request->request_body = request_body; 793 request->request_body = request_body;
793 if (frame_origin) 794 if (frame_origin)
794 *frame_origin = extra_data->frame_origin(); 795 *frame_origin = extra_data->frame_origin();
795 return request.Pass(); 796 return request.Pass();
796 } 797 }
797 798
798 } // namespace content 799 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698