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

Unified Diff: content/common/navigation_params.h

Issue 2776523005: Plumbing devtools agent host id and request id between processes (Closed)
Patch Set: Rebased Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/frame_messages.h ('k') | content/common/navigation_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigation_params.h
diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h
index 449003595cb6682ee8416e1f9acb23e6e82e1336..d2fdecb6782b95c7279bb6a90ad49d209c44dc84 100644
--- a/content/common/navigation_params.h
+++ b/content/common/navigation_params.h
@@ -316,6 +316,12 @@ struct CONTENT_EXPORT RequestNavigationParams {
// the resulting FrameHostMsg_DidCommitProvisionalLoad message.
int nav_entry_id;
+ // For browser-initiated navigations, this is the DevTools Network.requestId
+ // which will always an odd number to let us distinguish browser generated IDs
+ // from blink generated IDs (which will be even). For renderer-initiated
+ // navigations this will be zero.
+ int devtools_request_id;
+
// Whether this is a history navigation in a newly created child frame, in
// which case the browser process is instructing the renderer process to load
// a URL from a session history item. Defaults to false.
« no previous file with comments | « content/common/frame_messages.h ('k') | content/common/navigation_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698