diff options
author | eranm@google.com <eranm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-07 13:23:32 +0000 |
---|---|---|
committer | eranm@google.com <eranm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-07 13:23:32 +0000 |
commit | 7819e54ba24410465281d5175135cc83c60ceea0 (patch) | |
tree | c68ad13ca2d75340d010875c5817de2d1d355fda /chrome/browser/ui/browser_dialogs.h | |
parent | 8c3ac46c6cf1906d190d0dc3fd6c91f176f66b04 (diff) | |
download | chromium_src-7819e54ba24410465281d5175135cc83c60ceea0.zip chromium_src-7819e54ba24410465281d5175135cc83c60ceea0.tar.gz chromium_src-7819e54ba24410465281d5175135cc83c60ceea0.tar.bz2 |
A simple viewer for the Signed Certificate Timestamps.
This is modeled somewhat after the CollectedCookiesView.
There are two main components introduced:
* SignedCertificateTimestampInfoView: A grid layout for showing the details of a single SCT. That's where translation of numeric fields to names happens.
* SignedCertificateTimestampsViews is the dialogue itself, containing a SignedCertificateTimestampInfoView and a combo-box listing all SCTs available. This is also a grid layout with two padding columns.
Additionally, a function for translating between SCT ids and actual SCTs (ShowSignedCertificateTimestampsViewerByIds) was added in signed_certificate_timestamps_viewer.h.
Please ignore the changes under net - I am having them reviewed in a separate patch.
BUG=338370
Review URL: https://codereview.chromium.org/106833002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249680 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_dialogs.h')
-rw-r--r-- | chrome/browser/ui/browser_dialogs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h index a1f96a6..98c5514 100644 --- a/chrome/browser/ui/browser_dialogs.h +++ b/chrome/browser/ui/browser_dialogs.h @@ -6,6 +6,7 @@ #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ #include "base/callback.h" +#include "content/public/common/signed_certificate_timestamp_id_and_status.h" #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. #include "third_party/skia/include/core/SkColor.h" #include "ui/gfx/native_widget_types.h" @@ -103,6 +104,12 @@ void ShowUserManager(const base::FilePath& profile_path_to_focus); // Hides the User Manager. void HideUserManager(); +// Shows the Signed Certificate Timestamps viewer, to view the signed +// certificate timestamps in |sct_ids_list| +void ShowSignedCertificateTimestampsViewer( + content::WebContents* web_contents, + const content::SignedCertificateTimestampIDStatusList& sct_ids_list); + } // namespace chrome #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |