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

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

Issue 2802703004: Log creation for many dialog box types. (Closed)
Patch Set: qualify RecordDialogCreation with chrome:: 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/confirm_bubble_views.cc
diff --git a/chrome/browser/ui/views/confirm_bubble_views.cc b/chrome/browser/ui/views/confirm_bubble_views.cc
index 95bf4f0627efd25575fd551fb5a6a1e7eb8ff86f..feb497d8cf0ed94f7db527560fb9472f6e8bcf51 100644
--- a/chrome/browser/ui/views/confirm_bubble_views.cc
+++ b/chrome/browser/ui/views/confirm_bubble_views.cc
@@ -6,6 +6,7 @@
#include <utility>
+#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/browser/ui/confirm_bubble.h"
#include "chrome/browser/ui/confirm_bubble_model.h"
#include "components/constrained_window/constrained_window_views.h"
@@ -40,6 +41,9 @@ ConfirmBubbleViews::ConfirmBubbleViews(
link_ = new views::Link(model_->GetLinkText());
link_->set_listener(this);
link_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
+
+ chrome::RecordDialogCreation(
+ chrome::DialogIdentifier::ASK_GOOGLE_FOR_SUGGESTIONS);
msw 2017/04/07 10:31:09 Hmm, I know this is (probably?) only used for the
}
ConfirmBubbleViews::~ConfirmBubbleViews() {

Powered by Google App Engine
This is Rietveld 408576698