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 d8be70ba1bee21c7df45b73a99e291d60ee8f863..fa3d1516d86082012401d4855b3ef73aed1da3de 100644 |
--- a/content/browser/frame_host/navigation_request.h |
+++ b/content/browser/frame_host/navigation_request.h |
@@ -31,10 +31,19 @@ class NavigationRequest { |
// manipulated on the UI thread. |
void BeginNavigation(scoped_refptr<ResourceRequestBody> body); |
+ int64 navigation_request_id() const { |
+ return navigation_request_id_; |
clamy
2014/08/14 13:19:06
Please write this on one line since it fits:
int64
carlosk
2014/08/14 17:07:10
Done.
|
+ } |
+ |
private: |
+ // The next available browser-global navigation request ID. |
+ static int64 next_navigation_request_id_; |
+ |
+ const int64 navigation_request_id_; |
const NavigationRequestInfo info_; |
const int64 frame_node_id_; |
+ |
clamy
2014/08/14 13:19:06
nit: unnecessary blank line.
carlosk
2014/08/14 17:07:10
Done.
|
DISALLOW_COPY_AND_ASSIGN(NavigationRequest); |
}; |