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

Unified Diff: content/public/browser/navigation_entry.h

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
« no previous file with comments | « content/public/android/java/src/org/chromium/content_public/browser/NavigationEntry.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/navigation_entry.h
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
index 87c17cd29e18c2dd566e6435cc46dbb6716c75d5..23a9f1f01542c81f7c37780ab5e83043b06819a0 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include <map>
#include <memory>
#include <string>
@@ -205,6 +206,8 @@ class NavigationEntry {
// If present, fills the |data| present at the specified |key|.
virtual bool GetExtraData(const std::string& key,
base::string16* data) const = 0;
+ // Returns the extra data for this entry.
+ virtual const std::map<std::string, base::string16>& GetExtraData() const = 0;
clamy 2016/09/19 09:49:23 I cannot see any usage outside of content/ of this
Michael van Ouwerkerk 2016/09/19 14:27:40 Hi, are you suggesting that I should move this met
clamy 2016/09/19 15:25:27 Yes precisely. This is the design used all over co
Michael van Ouwerkerk 2016/09/19 15:57:39 Done.
// Removes the data at the specified |key|.
virtual void ClearExtraData(const std::string& key) = 0;
« no previous file with comments | « content/public/android/java/src/org/chromium/content_public/browser/NavigationEntry.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698