Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / chrome / browser / ui / webui / certificate_viewer_ui.h
blob3bad0ca418d08b7961785e54e727665634653c7b
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_
8 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h"
9 #include "ui/web_dialogs/web_dialog_ui.h"
11 // The WebUI for chrome://view-cert-dialog
12 class CertificateViewerModalDialogUI : public ui::WebDialogUI {
13 public:
14 explicit CertificateViewerModalDialogUI(content::WebUI* web_ui);
15 ~CertificateViewerModalDialogUI() override;
17 private:
18 DISALLOW_COPY_AND_ASSIGN(CertificateViewerModalDialogUI);
21 // The WebUI for chrome://view-cert
22 class CertificateViewerUI : public ConstrainedWebDialogUI {
23 public:
24 explicit CertificateViewerUI(content::WebUI* web_ui);
25 ~CertificateViewerUI() override;
27 private:
28 DISALLOW_COPY_AND_ASSIGN(CertificateViewerUI);
31 #endif // CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_