| Index: content/browser/web_contents/navigation_entry_impl.h
|
| diff --git a/content/browser/web_contents/navigation_entry_impl.h b/content/browser/web_contents/navigation_entry_impl.h
|
| index 8a2ca90cecb42107b5cd7d323808b15893bd8577..f8a4f054832df2a2fb273a37244b96a0949561cf 100644
|
| --- a/content/browser/web_contents/navigation_entry_impl.h
|
| +++ b/content/browser/web_contents/navigation_entry_impl.h
|
| @@ -71,6 +71,8 @@ class CONTENT_EXPORT NavigationEntryImpl
|
| virtual bool GetIsOverridingUserAgent() const OVERRIDE;
|
| virtual void SetTimestamp(base::Time timestamp) OVERRIDE;
|
| virtual base::Time GetTimestamp() const OVERRIDE;
|
| + virtual void SetHttpStatusCode(int http_status_code) OVERRIDE;
|
| + virtual int GetHttpStatusCode() const OVERRIDE;
|
|
|
| void set_unique_id(int unique_id) {
|
| unique_id_ = unique_id;
|
| @@ -166,9 +168,8 @@ class CONTENT_EXPORT NavigationEntryImpl
|
|
|
| private:
|
| // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
|
| - // Session/Tab restore save portions of this class so that it can be recreated
|
| - // later. If you add a new field that needs to be persisted you'll have to
|
| - // update SessionService/TabRestoreService appropriately.
|
| + // If you add a new field that needs to be persisted you must update
|
| + // TabNavigation in session_types.h appropriately.
|
| // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
|
|
|
| // See the accessors above for descriptions.
|
| @@ -192,6 +193,7 @@ class CONTENT_EXPORT NavigationEntryImpl
|
| GURL original_request_url_;
|
| bool is_overriding_user_agent_;
|
| base::Time timestamp_;
|
| + int http_status_code_;
|
|
|
| // This member is not persisted with session restore because it is transient.
|
| // If the post request succeeds, this field is cleared since the same
|
|
|