| 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 a23b7b6623adbcbcc0f8d1a632e3a9c2567ea6fb..0a8664493d0dd9edfea5c3a4d223ed8cc9ebc3e0 100644
|
| --- a/content/browser/web_contents/navigation_entry_impl.cc
|
| +++ b/content/browser/web_contents/navigation_entry_impl.cc
|
| @@ -48,6 +48,7 @@ NavigationEntryImpl::NavigationEntryImpl()
|
| post_id_(-1),
|
| restore_type_(RESTORE_NONE),
|
| is_overriding_user_agent_(false),
|
| + http_status_code_(0),
|
| is_renderer_initiated_(false),
|
| should_replace_entry_(false),
|
| should_clear_history_list_(false),
|
| @@ -75,6 +76,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),
|
| should_replace_entry_(false),
|
| should_clear_history_list_(false),
|
| @@ -277,6 +279,14 @@ 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_;
|
| +}
|
| +
|
| void NavigationEntryImpl::SetCanLoadLocalResources(bool allow) {
|
| can_load_local_resources_ = allow;
|
| }
|
|
|