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

Side by Side Diff: content/renderer/render_frame_impl.cc

Issue 1847383003: CREDENTIAL: Rework the integration with Fetch (2/2) Base URL: https://chromium.googlesource.com/chromium/src.git@pass-serialized
Patch Set: unittest Created 4 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/renderer/render_frame_impl.h" 5 #include "content/renderer/render_frame_impl.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 5614 matching lines...) Expand 10 before | Expand all | Expand 10 after
5625 REQUEST_CONTEXT_FRAME_TYPE_NESTED); 5625 REQUEST_CONTEXT_FRAME_TYPE_NESTED);
5626 5626
5627 Send(new FrameHostMsg_BeginNavigation( 5627 Send(new FrameHostMsg_BeginNavigation(
5628 routing_id_, 5628 routing_id_,
5629 MakeCommonNavigationParams(request, should_replace_current_entry), 5629 MakeCommonNavigationParams(request, should_replace_current_entry),
5630 BeginNavigationParams(GetWebURLRequestHeaders(*request), 5630 BeginNavigationParams(GetWebURLRequestHeaders(*request),
5631 GetLoadFlagsForWebURLRequest(*request), 5631 GetLoadFlagsForWebURLRequest(*request),
5632 request->hasUserGesture(), 5632 request->hasUserGesture(),
5633 request->skipServiceWorker(), 5633 request->skipServiceWorker(),
5634 GetRequestContextTypeForWebURLRequest(*request)), 5634 GetRequestContextTypeForWebURLRequest(*request)),
5635 GetRequestBodyForWebURLRequest(*request))); 5635 GetRequestBodyForWebURLRequest(*request, HTTP_BODY)));
5636 } 5636 }
5637 5637
5638 void RenderFrameImpl::LoadDataURL( 5638 void RenderFrameImpl::LoadDataURL(
5639 const CommonNavigationParams& params, 5639 const CommonNavigationParams& params,
5640 const RequestNavigationParams& request_params, 5640 const RequestNavigationParams& request_params,
5641 WebLocalFrame* frame, 5641 WebLocalFrame* frame,
5642 blink::WebFrameLoadType load_type, 5642 blink::WebFrameLoadType load_type,
5643 blink::WebHistoryItem item_for_history_navigation, 5643 blink::WebHistoryItem item_for_history_navigation,
5644 blink::WebHistoryLoadType history_load_type, 5644 blink::WebHistoryLoadType history_load_type,
5645 bool is_client_redirect) { 5645 bool is_client_redirect) {
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
6013 int match_count, 6013 int match_count,
6014 int ordinal, 6014 int ordinal,
6015 const WebRect& selection_rect, 6015 const WebRect& selection_rect,
6016 bool final_status_update) { 6016 bool final_status_update) {
6017 Send(new FrameHostMsg_Find_Reply(routing_id_, request_id, match_count, 6017 Send(new FrameHostMsg_Find_Reply(routing_id_, request_id, match_count,
6018 selection_rect, ordinal, 6018 selection_rect, ordinal,
6019 final_status_update)); 6019 final_status_update));
6020 } 6020 }
6021 6021
6022 } // namespace content 6022 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698