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

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

Issue 2413663003: Expose GlobalRequestID in NavigationHandle and ResourceRequestInfo. (Closed)
Patch Set: Addressed comments Created 4 years, 2 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/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..8f8f633a83125357832ea192559f65b3af6ba038 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"
@@ -162,6 +163,8 @@ class ResourceRequestInfo {
// UI thread at the beginning of navigation.
virtual NavigationUIData* GetNavigationUIData() const = 0;
+ virtual GlobalRequestID GetGlobalRequestID() const = 0;
Charlie Reis 2016/10/29 00:07:10 nit: All methods in content/public should be docum
Not at Google. Contact bengr 2016/11/01 21:11:06 Done.
+
protected:
virtual ~ResourceRequestInfo() {}
};
« 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