diff options
Diffstat (limited to 'chromium/content/browser/frame_host/navigation_request_info.h')
-rw-r--r-- | chromium/content/browser/frame_host/navigation_request_info.h | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/chromium/content/browser/frame_host/navigation_request_info.h b/chromium/content/browser/frame_host/navigation_request_info.h index 47dbca17b5c..304502f0a25 100644 --- a/chromium/content/browser/frame_host/navigation_request_info.h +++ b/chromium/content/browser/frame_host/navigation_request_info.h @@ -8,6 +8,7 @@ #include <string> #include "base/memory/ref_counted.h" +#include "base/unguessable_token.h" #include "content/common/content_export.h" #include "content/common/navigation_params.h" #include "content/common/navigation_params.mojom.h" @@ -22,18 +23,20 @@ namespace content { // ResourceDispatcherHost. It is initialized on the UI thread, and then passed // to the IO thread by a NavigationRequest object. struct CONTENT_EXPORT NavigationRequestInfo { - NavigationRequestInfo(const CommonNavigationParams& common_params, - mojom::BeginNavigationParamsPtr begin_params, - const GURL& site_for_cookies, - bool is_main_frame, - bool parent_is_main_frame, - bool are_ancestors_secure, - int frame_tree_node_id, - bool is_for_guests_only, - bool report_raw_headers, - bool is_prerendering, - std::unique_ptr<network::SharedURLLoaderFactoryInfo> - blob_url_loader_factory); + NavigationRequestInfo( + const CommonNavigationParams& common_params, + mojom::BeginNavigationParamsPtr begin_params, + const GURL& site_for_cookies, + bool is_main_frame, + bool parent_is_main_frame, + bool are_ancestors_secure, + int frame_tree_node_id, + bool is_for_guests_only, + bool report_raw_headers, + bool is_prerendering, + std::unique_ptr<network::SharedURLLoaderFactoryInfo> + blob_url_loader_factory, + const base::UnguessableToken& devtools_navigation_token); NavigationRequestInfo(const NavigationRequestInfo& other); ~NavigationRequestInfo(); @@ -61,6 +64,8 @@ struct CONTENT_EXPORT NavigationRequestInfo { // URLLoaderFactory to facilitate loading blob URLs. std::unique_ptr<network::SharedURLLoaderFactoryInfo> blob_url_loader_factory; + + const base::UnguessableToken devtools_navigation_token; }; } // namespace content |