#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "chrome/browser/ui/webui/certificate_viewer_ui.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/webui/certificate_viewer_webui.h"
#include "chrome/browser/ui/webui/webui_util.h"
#include "chrome/common/url_constants.h"
#include "chrome/grit/certificate_viewer_resources.h"
#include "chrome/grit/certificate_viewer_resources_map.h"
#include "chrome/grit/generated_resources.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui.h"
#include "content/public/browser/web_ui_data_source.h"
#include "ui/base/webui/web_ui_util.h"
#include "ui/web_dialogs/web_dialog_delegate.h"
namespace {
void CreateAndAddWebUIDataSource(Profile* profile, const std::string& host) { … }
}
CertificateViewerUI::CertificateViewerUI(content::WebUI* web_ui)
: … { … }
CertificateViewerUI::~CertificateViewerUI() { … }