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

Unified Diff: chrome/browser/extensions/api/web_request/web_request_api.cc

Issue 184873004: Update resource requests to remove redundant frame ID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comments Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/web_request/web_request_api.cc
diff --git a/chrome/browser/extensions/api/web_request/web_request_api.cc b/chrome/browser/extensions/api/web_request/web_request_api.cc
index cb7a821dcdbc4f0e811d3cef0c8df2d7af90fcd4..738c79fce0af7f5239be01daf3e45fae5a518ee3 100644
--- a/chrome/browser/extensions/api/web_request/web_request_api.cc
+++ b/chrome/browser/extensions/api/web_request/web_request_api.cc
@@ -179,9 +179,9 @@ void ExtractRequestInfoDetails(net::URLRequest* request,
const ResourceRequestInfo* info = ResourceRequestInfo::ForRequest(request);
ExtensionRendererState::GetInstance()->GetTabAndWindowId(
info, tab_id, window_id);
- *frame_id = info->GetFrameID();
+ *frame_id = info->GetRenderFrameID();
*is_main_frame = info->IsMainFrame();
- *parent_frame_id = info->GetParentFrameID();
+ *parent_frame_id = info->GetParentRenderFrameID();
*parent_is_main_frame = info->ParentIsMainFrame();
*render_process_host_id = info->GetChildID();
*routing_id = info->GetRouteID();

Powered by Google App Engine
This is Rietveld 408576698