blob: e033e8755336a4dd7884c418aef31aafdfd0b2bf [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_WEB_ERROR_PAGE_UTIL_H_
#define IOS_CHROME_BROWSER_WEB_ERROR_PAGE_UTIL_H_
@class NSError;
@class NSString;
// Returns error page HTML to display in WebState if the page load has failed.
NSString* GetErrorPage(NSError* error, bool is_post, bool is_off_the_record);
#endif // IOS_CHROME_BROWSER_WEB_ERROR_PAGE_UTIL_H_