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

Side by Side Diff: content/browser/loader/resource_request_info_impl.cc

Issue 2331343005: PlzNavigate: Get StreamPrivate API to work. (Closed)
Patch Set: Fix DCHECK leading to browser test redness Created 4 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 #include "content/browser/loader/resource_request_info_impl.h" 5 #include "content/browser/loader/resource_request_info_impl.h"
6 6
7 #include "content/browser/frame_host/frame_tree_node.h" 7 #include "content/browser/frame_host/frame_tree_node.h"
8 #include "content/browser/loader/global_routing_id.h" 8 #include "content/browser/loader/global_routing_id.h"
9 #include "content/browser/loader/resource_message_filter.h" 9 #include "content/browser/loader/resource_message_filter.h"
10 #include "content/browser/web_contents/web_contents_impl.h" 10 #include "content/browser/web_contents/web_contents_impl.h"
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 } 234 }
235 235
236 int ResourceRequestInfoImpl::GetOriginPID() const { 236 int ResourceRequestInfoImpl::GetOriginPID() const {
237 return origin_pid_; 237 return origin_pid_;
238 } 238 }
239 239
240 int ResourceRequestInfoImpl::GetRenderFrameID() const { 240 int ResourceRequestInfoImpl::GetRenderFrameID() const {
241 return render_frame_id_; 241 return render_frame_id_;
242 } 242 }
243 243
244 int ResourceRequestInfoImpl::GetFrameTreeNodeId() const {
245 return frame_tree_node_id_;
246 }
247
244 bool ResourceRequestInfoImpl::IsMainFrame() const { 248 bool ResourceRequestInfoImpl::IsMainFrame() const {
245 return is_main_frame_; 249 return is_main_frame_;
246 } 250 }
247 251
248 bool ResourceRequestInfoImpl::ParentIsMainFrame() const { 252 bool ResourceRequestInfoImpl::ParentIsMainFrame() const {
249 return parent_is_main_frame_; 253 return parent_is_main_frame_;
250 } 254 }
251 255
252 ResourceType ResourceRequestInfoImpl::GetResourceType() const { 256 ResourceType ResourceRequestInfoImpl::GetResourceType() const {
253 return resource_type_; 257 return resource_type_;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 origin_pid_ = origin_pid; 342 origin_pid_ = origin_pid;
339 request_id_ = request_id; 343 request_id_ = request_id;
340 filter_ = filter; 344 filter_ = filter;
341 } 345 }
342 346
343 void ResourceRequestInfoImpl::ResetBody() { 347 void ResourceRequestInfoImpl::ResetBody() {
344 body_ = nullptr; 348 body_ = nullptr;
345 } 349 }
346 350
347 } // namespace content 351 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/resource_request_info_impl.h ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698