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 37a8c8ef8fd1fb0af81a4b886154e68b43dc4e64..c3c803f63a15036d9a23a09ac45f04622d14d869 100644 |
--- a/content/public/browser/resource_request_info.h |
+++ b/content/public/browser/resource_request_info.h |
@@ -17,6 +17,7 @@ class URLRequest; |
} |
namespace content { |
+class NavigationUIData; |
class ResourceContext; |
class WebContents; |
@@ -152,6 +153,11 @@ class ResourceRequestInfo { |
// Whether this request if using Lo-Fi mode. |
virtual bool IsUsingLoFi() const = 0; |
+ // PlzNavigate |
+ // Only used for main resources. Returns opaque data set by the embedder on |
nasko
2016/09/22 18:32:50
What is "main resource"? What about subframe navig
clamy
2016/09/26 15:37:51
I meant the load of the main resource of each fram
|
+ // the UI thread at the beginning of navigation. |
+ virtual NavigationUIData* GetNavigationUIData() const = 0; |
+ |
protected: |
virtual ~ResourceRequestInfo() {} |
}; |