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

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: 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
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..31d4f47235077ce2a44263a96d3f30dadcd7747d 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,
+ int devtools_request_id);
~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 int devtools_request_id;
};
} // namespace content
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/browser/frame_host/navigation_request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698