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

Unified Diff: content/browser/frame_host/navigation_request_info.h

Issue 2776523005: Plumbing devtools agent host id and request id between processes (Closed)
Patch Set: Full plumbing Created 3 years, 9 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: content/browser/frame_host/navigation_request_info.h
diff --git a/content/browser/frame_host/navigation_request_info.h b/content/browser/frame_host/navigation_request_info.h
index ce81bb88918dea5a1b326e08a4d0be8c6e4fad38..c4e1852f55cc02fc892ad10d93ed304de874d539 100644
--- a/content/browser/frame_host/navigation_request_info.h
+++ b/content/browser/frame_host/navigation_request_info.h
@@ -31,7 +31,9 @@ struct CONTENT_EXPORT NavigationRequestInfo {
int frame_tree_node_id,
bool is_for_guests_only,
bool report_raw_headers,
- blink::WebPageVisibilityState page_visibility_state);
+ blink::WebPageVisibilityState page_visibility_state,
+ const std::string& devtools_agent_host_id,
+ unsigned int devtools_request_id);
Sami 2017/03/29 16:41:42 nit: We generally don't use unsigned types (Looks
alex clarke (OOO till 29th) 2017/03/30 16:56:55 Done.
~NavigationRequestInfo();
const CommonNavigationParams common_params;
@@ -55,6 +57,13 @@ struct CONTENT_EXPORT NavigationRequestInfo {
const bool report_raw_headers;
blink::WebPageVisibilityState page_visibility_state;
+
+ // Only set if the associated WebContents is being inspected.
+ const std::string devtools_agent_host_id;
+
+ // Browser generated request id, only set if the associated WebContents is
+ // being inspected.
+ const unsigned int devtools_request_id;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698