Chromium Code Reviews| Index: chrome/common/localized_error.h |
| diff --git a/chrome/common/localized_error.h b/chrome/common/localized_error.h |
| index 32374818b82ba0f713bf909b4420830919f0f110..5887ddd1cd4a34e8f2459e05cd790b3c18b0c1e5 100644 |
| --- a/chrome/common/localized_error.h |
| +++ b/chrome/common/localized_error.h |
| @@ -10,6 +10,7 @@ |
| #include "base/basictypes.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "base/strings/string16.h" |
| +#include "components/error_page/common/offline_page_types.h" |
| #include "url/gurl.h" |
| namespace base { |
| @@ -26,6 +27,7 @@ struct ErrorPageParams; |
| class LocalizedError { |
| public: |
| + |
|
Lei Zhang
2015/11/23 23:43:37
Not sure why this is here - git cl lint will compl
jianli
2015/11/23 23:49:50
Done.
|
| // Fills |error_strings| with values to be used to build an error page used |
| // on HTTP errors, like 404 or connection reset. |
| static void GetStrings(int error_code, |
| @@ -34,7 +36,7 @@ class LocalizedError { |
| bool is_post, |
| bool stale_copy_in_cache, |
| bool can_show_network_diagnostics_dialog, |
| - bool has_offline_pages, |
| + error_page::OfflinePageStatus offline_page_status, |
| const std::string& locale, |
| const std::string& accept_languages, |
| scoped_ptr<error_page::ErrorPageParams> params, |