| Index: content/browser/web_contents/navigation_entry_impl.cc
|
| diff --git a/content/browser/web_contents/navigation_entry_impl.cc b/content/browser/web_contents/navigation_entry_impl.cc
|
| index a3f6b905dab84553ea7d6a497962851f4518fdf5..00c1b1164b7e8df2f1917e1c07a7633508c6fbc3 100644
|
| --- a/content/browser/web_contents/navigation_entry_impl.cc
|
| +++ b/content/browser/web_contents/navigation_entry_impl.cc
|
| @@ -46,6 +46,7 @@ NavigationEntryImpl::NavigationEntryImpl()
|
| post_id_(-1),
|
| restore_type_(RESTORE_NONE),
|
| is_overriding_user_agent_(false),
|
| + http_status_code_(0),
|
| is_renderer_initiated_(false),
|
| is_cross_site_reload_(false) {
|
| }
|
| @@ -70,6 +71,7 @@ NavigationEntryImpl::NavigationEntryImpl(SiteInstanceImpl* instance,
|
| post_id_(-1),
|
| restore_type_(RESTORE_NONE),
|
| is_overriding_user_agent_(false),
|
| + http_status_code_(0),
|
| is_renderer_initiated_(is_renderer_initiated),
|
| is_cross_site_reload_(false) {
|
| }
|
| @@ -263,4 +265,12 @@ base::Time NavigationEntryImpl::GetTimestamp() const {
|
| return timestamp_;
|
| }
|
|
|
| +void NavigationEntryImpl::SetHttpStatusCode(int http_status_code) {
|
| + http_status_code_ = http_status_code;
|
| +}
|
| +
|
| +int NavigationEntryImpl::GetHttpStatusCode() const {
|
| + return http_status_code_;
|
| +}
|
| +
|
| } // namespace content
|
|
|