Chromium Code Reviews| Index: chrome/renderer/navigation_state.h |
| =================================================================== |
| --- chrome/renderer/navigation_state.h (revision 75637) |
| +++ chrome/renderer/navigation_state.h (working copy) |
| @@ -210,17 +210,11 @@ |
| security_info_ = security_info; |
| } |
| - bool postpone_loading_data() const { return postpone_loading_data_; } |
| - void set_postpone_loading_data(bool postpone_loading_data) { |
| - postpone_loading_data_ = postpone_loading_data; |
| + const bool maybe_use_error_page() const { return maybe_use_error_page_; } |
|
tony
2011/02/23 21:43:20
Nit: Drop the const in front of the bool. Also, I
mmenke
2011/02/23 21:53:36
Both done.
|
| + void set_maybe_use_error_page(bool maybe_use_error_page) { |
| + maybe_use_error_page_ = maybe_use_error_page; |
| } |
| - const std::string& postponed_data() const { return postponed_data_; } |
| - void clear_postponed_data() { postponed_data_.clear(); } |
| - void append_postponed_data(const char* data, size_t data_len) { |
| - postponed_data_.append(data, data_len); |
| - } |
| - |
| bool is_prerendering() const; |
| void set_is_prerendering(bool is_prerendering); |
| @@ -316,9 +310,11 @@ |
| scoped_ptr<webkit_glue::PasswordForm> password_form_data_; |
| scoped_ptr<webkit_glue::AltErrorPageResourceFetcher> alt_error_page_fetcher_; |
| std::string security_info_; |
| - bool postpone_loading_data_; |
| - std::string postponed_data_; |
| + // True if we should use an error page, if the http status code indicates an |
| + // error. |
| + bool maybe_use_error_page_; |
| + |
| // True if page is being prerendered. False once prerendered page is |
| // displayed. Preserved across redirects. Only set for the main frame's |
| // data source. |