Chromium Code Reviews| Index: content/browser/tab_contents/navigation_entry.h |
| diff --git a/content/browser/tab_contents/navigation_entry.h b/content/browser/tab_contents/navigation_entry.h |
| index eea3f350213ba3a1a7d71533dcaca5d2a63b8458..19967ef5896cfb9de168da4346c9386b8a926bb7 100644 |
| --- a/content/browser/tab_contents/navigation_entry.h |
| +++ b/content/browser/tab_contents/navigation_entry.h |
| @@ -329,6 +329,15 @@ class CONTENT_EXPORT NavigationEntry { |
| return extra_headers_; |
| } |
| + // Used to support swapouts of frames with non-null openers |
| + void set_opener_browsing_instance_frame_id(int64 id) { |
| + opener_browsing_instance_frame_id_ = id; |
| + } |
| + |
| + int64 opener_browsing_instance_frame_id() const { |
| + return opener_browsing_instance_frame_id_; |
| + } |
| + |
| // Page-related helpers ------------------------------------------------------ |
| // Returns the title to be displayed on the tab. This could be the title of |
| @@ -436,6 +445,7 @@ class CONTENT_EXPORT NavigationEntry { |
| GURL user_typed_url_; |
| bool has_post_data_; |
| RestoreType restore_type_; |
| + int64 opener_browsing_instance_frame_id_; |
|
Charlie Reis
2011/12/01 23:13:02
Do we need to persist this? (I suppose it could l
supersat
2011/12/09 23:08:20
We'll only need to persist this if we restore scri
Charlie Reis
2011/12/12 22:20:36
Let's avoid persisting it for now, then, and we ca
supersat
2011/12/15 19:30:49
Done.
|
| // This member is not persisted with sesssion restore. |
| std::string extra_headers_; |