| 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 f404b5d7ed884c5f9473aa9e8740a5713571b671..0bada54b2a2c469517e3cb939b6d2dc29be5f149 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;
|
| @@ -165,9 +167,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.
|
| @@ -191,6 +192,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
|
|
|