Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index 8393cda6f98449a3e0b06a32a869033797fd1305..502f6711a36b47b4cd47b6777052781ba28a627b 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -660,6 +660,8 @@ Shell::Shell(ShellDelegate* delegate) |
Shell::~Shell() { |
TRACE_EVENT0("shutdown", "ash::Shell::Destructor"); |
+ user_metrics_recorder_->OnShellShuttingDown(); |
+ |
delegate_->PreShutdown(); |
views::FocusManagerFactory::Install(NULL); |
@@ -1085,6 +1087,8 @@ void Shell::Init(const ShellInitParams& init_params) { |
// order to create mirror window. Run it after the main message loop |
// is started. |
display_manager_->CreateMirrorWindowAsyncIfAny(); |
+ |
+ user_metrics_recorder_->OnShellInitialized(); |
} |
void Shell::InitKeyboard() { |