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

Unified Diff: chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc

Issue 2802703004: Log creation for many dialog box types. (Closed)
Patch Set: Enums better match class names. Created 3 years, 8 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/sync/profile_signin_confirmation_dialog_views.cc
diff --git a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
index 18ea2fa9f8012625175c1deb3b1fb5d8e047e5cd..703f547950359a297c401bb4d5b36016c5029065 100644
--- a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
+++ b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
@@ -10,6 +10,7 @@
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/browser/ui/browser_navigator.h"
#include "chrome/browser/ui/browser_navigator_params.h"
#include "chrome/browser/ui/browser_window.h"
@@ -48,7 +49,10 @@ ProfileSigninConfirmationDialogViews::ProfileSigninConfirmationDialogViews(
: browser_(browser),
username_(username),
delegate_(std::move(delegate)),
- prompt_for_new_profile_(true) {}
+ prompt_for_new_profile_(true) {
+ chrome::RecordDialogCreation(
+ chrome::DialogIdentifier::PROFILE_SIGNIN_CONFIRMATION);
+}
ProfileSigninConfirmationDialogViews::~ProfileSigninConfirmationDialogViews() {}

Powered by Google App Engine
This is Rietveld 408576698