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

Unified Diff: content/browser/frame_host/navigation_entry_impl.cc

Issue 2327083002: Ntp: restore scroll position. (Closed)
Patch Set: fix build (const) Created 4 years, 3 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
Index: content/browser/frame_host/navigation_entry_impl.cc
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc
index 31b1d508e8ee0a7f70a5fdbc9a28b5e169c5d57e..68996f6d06094a44cd93fac202ff05e291b48b10 100644
--- a/content/browser/frame_host/navigation_entry_impl.cc
+++ b/content/browser/frame_host/navigation_entry_impl.cc
@@ -582,6 +582,11 @@ bool NavigationEntryImpl::GetExtraData(const std::string& key,
return true;
}
+const std::map<std::string, base::string16>& NavigationEntryImpl::GetExtraData()
+ const {
+ return extra_data_;
+}
+
void NavigationEntryImpl::ClearExtraData(const std::string& key) {
extra_data_.erase(key);
}

Powered by Google App Engine
This is Rietveld 408576698