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

Unified Diff: content/common/navigation_params.cc

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/navigation_params.h ('k') | content/common/net/url_request_devtools_user_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
index e2148964f89b3e177019e997c16d72147d7d2a82..444ebef9326be09e5fe61ba557f5efa3f67e75df 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -156,6 +156,7 @@ RequestNavigationParams::RequestNavigationParams()
: is_overriding_user_agent(false),
can_load_local_resources(false),
nav_entry_id(0),
+ devtools_request_id(0),
is_history_navigation_in_new_child(false),
has_committed_real_load(false),
intended_as_new_entry(false),
@@ -167,8 +168,7 @@ RequestNavigationParams::RequestNavigationParams()
should_create_service_worker(false),
service_worker_provider_id(kInvalidServiceWorkerProviderId),
appcache_host_id(kAppCacheNoHostId),
- has_user_gesture(false) {
-}
+ has_user_gesture(false) {}
RequestNavigationParams::RequestNavigationParams(
bool is_overriding_user_agent,
@@ -195,6 +195,7 @@ RequestNavigationParams::RequestNavigationParams(
can_load_local_resources(can_load_local_resources),
page_state(page_state),
nav_entry_id(nav_entry_id),
+ devtools_request_id(-nav_entry_id),
is_history_navigation_in_new_child(is_history_navigation_in_new_child),
subframe_unique_names(subframe_unique_names),
has_committed_real_load(has_committed_real_load),
« no previous file with comments | « content/common/navigation_params.h ('k') | content/common/net/url_request_devtools_user_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698