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

Unified Diff: chrome/browser/chromeos/power/idle_action_warning_dialog_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
Index: chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc
diff --git a/chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc b/chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc
index 9c48d9b46d73df008371df366bb430a60bb6c1f4..5d9b81b63db3fc389dbf43a0ebfe3cffc5cd164f 100644
--- a/chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc
+++ b/chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc
@@ -9,6 +9,7 @@
#include "ash/shell.h"
#include "base/location.h"
#include "base/macros.h"
+#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/grit/generated_resources.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/base/l10n/l10n_util.h"
@@ -79,6 +80,7 @@ IdleActionWarningDialogView::IdleActionWarningDialogView(
base::TimeDelta::FromMilliseconds(kCountdownUpdateIntervalMs),
this,
&IdleActionWarningDialogView::UpdateLabel);
+ chrome::RecordDialogCreation(chrome::DialogIdentifier::IDLE_ACTION_WARNING);
}
void IdleActionWarningDialogView::CloseDialog() {
« no previous file with comments | « chrome/browser/chromeos/options/network_config_view.cc ('k') | chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698