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 cc25a254cf08c2904dc5aa10e5b09122a70f481f..1642367774bd6f0f70049b2d41cf07b81736f424 100644 |
| --- a/content/public/browser/navigation_entry.h |
| +++ b/content/public/browser/navigation_entry.h |
| @@ -188,6 +188,13 @@ class NavigationEntry { |
| // is currently only used in tests. |
| virtual void SetFrameToNavigate(const std::string& frame_name) = 0; |
| virtual const std::string& GetFrameToNavigate() const = 0; |
| + |
| + // Set extra data on this NavigationEntry according to the specified |key|. |
|
sky
2013/01/31 20:52:15
Please add a comment here that this data is not pe
Mathieu
2013/01/31 21:30:50
Done.
|
| + virtual void SetExtraData(const std::string& key, const string16& data) = 0; |
| + // If present, fills the |data| present at the specified |key|. |
| + virtual bool GetExtraData(const std::string& key, string16* data) const = 0; |
| + // Removes the data at the specified |key|. |
| + virtual void ClearExtraData(const std::string& key) = 0; |
| }; |
| } // namespace content |