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

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: use LoFiDefault in RequestNavigationParams constructor Created 5 years, 3 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 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 request->allow_download = extra_data->allow_download(); 781 request->allow_download = extra_data->allow_download();
782 request->transition_type = extra_data->transition_type(); 782 request->transition_type = extra_data->transition_type();
783 request->should_replace_current_entry = 783 request->should_replace_current_entry =
784 extra_data->should_replace_current_entry(); 784 extra_data->should_replace_current_entry();
785 request->transferred_request_child_id = 785 request->transferred_request_child_id =
786 extra_data->transferred_request_child_id(); 786 extra_data->transferred_request_child_id();
787 request->transferred_request_request_id = 787 request->transferred_request_request_id =
788 extra_data->transferred_request_request_id(); 788 extra_data->transferred_request_request_id();
789 request->service_worker_provider_id = 789 request->service_worker_provider_id =
790 extra_data->service_worker_provider_id(); 790 extra_data->service_worker_provider_id();
791 request->lofi_state = extra_data->lofi_state();
791 request->request_body = request_body; 792 request->request_body = request_body;
792 if (frame_origin) 793 if (frame_origin)
793 *frame_origin = extra_data->frame_origin(); 794 *frame_origin = extra_data->frame_origin();
794 return request.Pass(); 795 return request.Pass();
795 } 796 }
796 797
797 } // namespace content 798 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698