| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/ui/webui/constrained_html_ui.h" | 9 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h" |
| 10 | 10 |
| 11 // The WebUI for chrome://view-cert | 11 // The WebUI for chrome://view-cert |
| 12 class CertificateViewerUI : public ConstrainedHtmlUI { | 12 class CertificateViewerUI : public ConstrainedWebDialogUI { |
| 13 public: | 13 public: |
| 14 explicit CertificateViewerUI(content::WebUI* web_ui); | 14 explicit CertificateViewerUI(content::WebUI* web_ui); |
| 15 virtual ~CertificateViewerUI(); | 15 virtual ~CertificateViewerUI(); |
| 16 | 16 |
| 17 DISALLOW_COPY_AND_ASSIGN(CertificateViewerUI); | 17 DISALLOW_COPY_AND_ASSIGN(CertificateViewerUI); |
| 18 }; | 18 }; |
| 19 | 19 |
| 20 #endif // CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_ | 20 #endif // CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_ |
| OLD | NEW |