blob: e1b017e6b2c8f919d5131e1e0fd044cce45fea7e [file] [log] [blame]
// Copyright 2020 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 COMPONENTS_ANDROID_SYSTEM_ERROR_PAGE_ERROR_PAGE_POPULATOR_H_
#define COMPONENTS_ANDROID_SYSTEM_ERROR_PAGE_ERROR_PAGE_POPULATOR_H_
#include <string>
namespace blink {
struct WebURLError;
}
namespace android_system_error_page {
// Populates |error_html| to display an error page with an Android system feel
// for |error|.
void PopulateErrorPageHtml(const blink::WebURLError& error,
std::string* error_html);
} // namespace android_system_error_page
#endif // COMPONENTS_ANDROID_SYSTEM_ERROR_PAGE_ERROR_PAGE_POPULATOR_H_