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

Unified Diff: content/public/browser/resource_request_info.h

Issue 2413663003: Expose GlobalRequestID in NavigationHandle and ResourceRequestInfo. (Closed)
Patch Set: Ignore PlzNavigate Created 4 years, 1 month 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/public/browser/resource_request_info.h
diff --git a/content/public/browser/resource_request_info.h b/content/public/browser/resource_request_info.h
index ad3c07b44073431b0a35c7dec9e32411b74e237d..540cc2eabc0c76794b89231caf24af5eb5f82a00 100644
--- a/content/public/browser/resource_request_info.h
+++ b/content/public/browser/resource_request_info.h
@@ -7,6 +7,7 @@
#include "base/callback_forward.h"
#include "content/common/content_export.h"
+#include "content/public/browser/global_request_id.h"
#include "content/public/common/resource_type.h"
#include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
#include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
@@ -92,6 +93,9 @@ class ResourceRequestInfo {
// Don't use this method for new code, as RenderViews are going away.
virtual int GetRouteID() const = 0;
+ // The unique identifier across processes for this request.
clamy 2016/11/09 16:06:54 s/The unique identifier across processes for this
Not at Google. Contact bengr 2016/11/09 22:30:01 Done.
+ virtual GlobalRequestID GetGlobalRequestID() const = 0;
+
// The pid of the originating process, if the request is sent on behalf of a
// another process. Otherwise it is 0.
virtual int GetOriginPID() const = 0;
« content/public/browser/navigation_handle.h ('K') | « content/public/browser/navigation_handle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698