Chromium Code Reviews| 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; |