Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3246)

Unified Diff: chrome/browser/ui/views/ssl_client_certificate_selector.cc

Issue 2881683002: Log the creation of several more dialog box types. (Closed)
Patch Set: Fix alphabetization errors. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/ssl_client_certificate_selector.cc
diff --git a/chrome/browser/ui/views/ssl_client_certificate_selector.cc b/chrome/browser/ui/views/ssl_client_certificate_selector.cc
index f30964ca2b3776c2b2a35b9345f5bc889e6bcace..0176e6528f177ad45408e4c6c9bbc9f6c31db040 100644
--- a/chrome/browser/ui/views/ssl_client_certificate_selector.cc
+++ b/chrome/browser/ui/views/ssl_client_certificate_selector.cc
@@ -10,6 +10,7 @@
#include "base/bind_helpers.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
+#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/grit/generated_resources.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/client_certificate_delegate.h"
@@ -33,7 +34,10 @@ SSLClientCertificateSelector::SSLClientCertificateSelector(
SSLClientAuthObserver(web_contents->GetBrowserContext(),
cert_request_info,
std::move(delegate)),
- WebContentsObserver(web_contents) {}
+ WebContentsObserver(web_contents) {
+ chrome::RecordDialogCreation(
+ chrome::DialogIdentifier::SSL_CLIENT_CERTIFICATE_SELECTOR);
+}
SSLClientCertificateSelector::~SSLClientCertificateSelector() {}
« no previous file with comments | « chrome/browser/ui/views/simple_message_box_views.cc ('k') | chrome/browser/ui/views/tab_modal_confirm_dialog_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698