Index: chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc |
diff --git a/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc b/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc |
index bff993ba9b5774f7f1f98cbb42a011f331c58fba..bab4cd5d4be256c98c32b4857f9ba8e7b8c36b7e 100644 |
--- a/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc |
+++ b/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc |
@@ -19,6 +19,7 @@ |
#include "chrome/browser/ui/ash/chrome_new_window_client.h" |
#include "chrome/browser/ui/ash/chrome_shell_content_state.h" |
#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" |
+#include "chrome/browser/ui/ash/lock_screen_client.h" |
#include "chrome/browser/ui/ash/media_client.h" |
#include "chrome/browser/ui/ash/session_controller_client.h" |
#include "chrome/browser/ui/ash/system_tray_client.h" |
@@ -109,6 +110,7 @@ void ChromeBrowserMainExtraPartsAsh::PostProfileInit() { |
cast_config_client_media_router_ = |
base::MakeUnique<CastConfigClientMediaRouter>(); |
media_client_ = base::MakeUnique<MediaClient>(); |
+ lock_screen_client_ = base::MakeUnique<LockScreenClient>(); |
if (!ash::Shell::HasInstance()) |
return; |
@@ -128,6 +130,7 @@ void ChromeBrowserMainExtraPartsAsh::PostMainMessageLoopRun() { |
volume_controller_.reset(); |
new_window_client_.reset(); |
system_tray_client_.reset(); |
+ lock_screen_client_.reset(); |
media_client_.reset(); |
cast_config_client_media_router_.reset(); |
session_controller_client_.reset(); |