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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc

Issue 1124153007: Added the Ash.Tab.TimeBetweenSwitchToExistingTabUserActions histogram to track time between tab swit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed UserMetricsRecorderProxy from ash. Created 5 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/ash/chrome_shell_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc b/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
index 1b617147813255fcd5ccb26f3f04ae4c346c3996..847cf7b28d55e189e9ae7c33b974c19090ba5e4a 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
@@ -217,10 +217,13 @@ void ChromeShellDelegate::PreInit() {
// in Shell::Init.
display_configuration_observer_.reset(
new chromeos::DisplayConfigurationObserver());
+
+ user_metrics_recorder_proxy_.reset(new ash::UserMetricsRecorderProxy);
}
void ChromeShellDelegate::PreShutdown() {
display_configuration_observer_.reset();
+ user_metrics_recorder_proxy_.reset();
bruthig 2015/05/15 19:11:27 oshima@, is it safe to assume that all Browser's h
}
ash::SessionStateDelegate* ChromeShellDelegate::CreateSessionStateDelegate() {

Powered by Google App Engine
This is Rietveld 408576698