| Index: ios/web/web_state/navigation_context_impl.h
|
| diff --git a/ios/web/web_state/navigation_context_impl.h b/ios/web/web_state/navigation_context_impl.h
|
| index 14a56c9df22fc587d0d3441b0094a0e6ac7107de..2e3d3386c103656f529970d5479598c53d34d358 100644
|
| --- a/ios/web/web_state/navigation_context_impl.h
|
| +++ b/ios/web/web_state/navigation_context_impl.h
|
| @@ -42,6 +42,10 @@ class NavigationContextImpl : public NavigationContext {
|
| void SetResponseHeaders(
|
| const scoped_refptr<net::HttpResponseHeaders>& response_headers);
|
|
|
| + // Optional unique id of the navigation item associated with this navigaiton.
|
| + int GetNavigationItemUniqueID() const;
|
| + void SetNavigationItemUniqueID(int unique_id);
|
| +
|
| private:
|
| NavigationContextImpl(
|
| WebState* web_state,
|
| @@ -55,6 +59,7 @@ class NavigationContextImpl : public NavigationContext {
|
| bool is_same_document_ = false;
|
| bool is_error_page_ = false;
|
| scoped_refptr<net::HttpResponseHeaders> response_headers_;
|
| + int navigation_item_unique_id_ = -1;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(NavigationContextImpl);
|
| };
|
|
|