Index: content/browser/frame_host/navigation_request.h |
diff --git a/content/browser/frame_host/navigation_request.h b/content/browser/frame_host/navigation_request.h |
index 6cc1cd2fe98b6bcaf4a44e74ae2e4f66ffeb3eca..b913019e60b623bfd667ae08736068dcfed344c6 100644 |
--- a/content/browser/frame_host/navigation_request.h |
+++ b/content/browser/frame_host/navigation_request.h |
@@ -32,7 +32,13 @@ class NavigationRequest { |
// manipulated on the UI thread. |
void BeginNavigation(scoped_refptr<ResourceRequestBody> body); |
+ int64 navigation_request_id() const { return navigation_request_id_; } |
+ |
private: |
+ // The next available browser-global navigation request ID. |
+ static int64 next_navigation_request_id_; |
davidben
2014/08/25 17:31:34
Nit: This may as well be a global in navigation_re
carlosk
2014/08/27 15:31:59
Done.
|
+ |
+ const int64 navigation_request_id_; |
const NavigationRequestInfo info_; |
const int64 frame_node_id_; |