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

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

Issue 2327083002: Ntp: restore scroll position. (Closed)
Patch Set: Rebase. 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.h
diff --git a/content/browser/frame_host/navigation_entry_impl.h b/content/browser/frame_host/navigation_entry_impl.h
index 4c96d55e2b7342d18cd35e31ca6ae2b681e20e3f..4a778b4251f926dbc987bceb7d951d129f90596c 100644
--- a/content/browser/frame_host/navigation_entry_impl.h
+++ b/content/browser/frame_host/navigation_entry_impl.h
@@ -7,6 +7,8 @@
#include <stdint.h>
+#include <map>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_vector.h"
@@ -356,6 +358,10 @@ class CONTENT_EXPORT NavigationEntryImpl
// Returns the history URL for a data URL to use in Blink.
GURL GetHistoryURLForDataURL() const;
+ const std::map<std::string, base::string16>& get_extra_data() const {
+ return extra_data_;
+ }
+
#if defined(OS_ANDROID)
base::TimeTicks intent_received_timestamp() const {
return intent_received_timestamp_;

Powered by Google App Engine
This is Rietveld 408576698