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

Unified Diff: chrome/browser/ui/views/webshare/webshare_target_picker_view.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
« no previous file with comments | « chrome/browser/ui/views/validation_message_bubble_view.cc ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/webshare/webshare_target_picker_view.cc
diff --git a/chrome/browser/ui/views/webshare/webshare_target_picker_view.cc b/chrome/browser/ui/views/webshare/webshare_target_picker_view.cc
index 79952a307a54b462f0021aa8eae98abad18c2615..c24e9584038bb05c15514a26ac3295c91fda4a9c 100644
--- a/chrome/browser/ui/views/webshare/webshare_target_picker_view.cc
+++ b/chrome/browser/ui/views/webshare/webshare_target_picker_view.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/views/webshare/webshare_target_picker_view.h"
#include "base/strings/utf_string_conversions.h"
+#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/browser/ui/views/harmony/chrome_layout_provider.h"
#include "chrome/grit/generated_resources.h"
#include "components/constrained_window/constrained_window_views.h"
@@ -106,6 +107,8 @@ WebShareTargetPickerView::WebShareTargetPickerView(
AddChildView(table_parent);
// Make the table expand to fill the space.
layout->SetFlexForView(table_parent, 1);
+ chrome::RecordDialogCreation(
+ chrome::DialogIdentifier::WEB_SHARE_TARGET_PICKER);
}
WebShareTargetPickerView::~WebShareTargetPickerView() {
« no previous file with comments | « chrome/browser/ui/views/validation_message_bubble_view.cc ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698