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

Unified Diff: ios/web/web_state/navigation_context_impl.mm

Issue 2881933003: Store NavigationItem's unique ID in navigation context. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « ios/web/web_state/navigation_context_impl.h ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/navigation_context_impl.mm
diff --git a/ios/web/web_state/navigation_context_impl.mm b/ios/web/web_state/navigation_context_impl.mm
index a1dc6f2dd73942609d48f54bc98e32372fe8fb79..3262e0bd2002337fa6b0f319170dac233228604c 100644
--- a/ios/web/web_state/navigation_context_impl.mm
+++ b/ios/web/web_state/navigation_context_impl.mm
@@ -65,6 +65,14 @@ void NavigationContextImpl::SetResponseHeaders(
response_headers_ = response_headers;
}
+int NavigationContextImpl::GetNavigationItemUniqueID() const {
+ return navigation_item_unique_id_;
+}
+
+void NavigationContextImpl::SetNavigationItemUniqueID(int unique_id) {
+ navigation_item_unique_id_ = unique_id;
+}
+
NavigationContextImpl::NavigationContextImpl(
WebState* web_state,
const GURL& url,
« no previous file with comments | « ios/web/web_state/navigation_context_impl.h ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698