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

Unified Diff: chrome/browser/signin/easy_unlock_service_regular.cc

Issue 2445583002: Relocate display_manager from ash to ui (Closed)
Patch Set: Created 4 years, 2 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/signin/easy_unlock_service_regular.cc
diff --git a/chrome/browser/signin/easy_unlock_service_regular.cc b/chrome/browser/signin/easy_unlock_service_regular.cc
index 86e5ebf5970db5350c4117bffc2e8a7583d4f948..f8ee29a9deb013dac2c69ed84b44c3db3efbc711 100644
--- a/chrome/browser/signin/easy_unlock_service_regular.cc
+++ b/chrome/browser/signin/easy_unlock_service_regular.cc
@@ -55,7 +55,6 @@
#if defined(OS_CHROMEOS)
#include "apps/app_lifetime_monitor_factory.h"
-#include "ash/display/display_manager.h"
#include "ash/shell.h"
#include "base/linux_util.h"
#include "base/threading/thread_task_runner_handle.h"
@@ -64,6 +63,7 @@
#include "chrome/browser/chromeos/login/session/user_session_manager.h"
#include "chrome/browser/chromeos/profiles/profile_helper.h"
#include "components/user_manager/user_manager.h"
+#include "ui/display/manager/display_manager.h"
#include "ui/display/manager/managed_display_info.h"
#endif
@@ -625,7 +625,7 @@ cryptauth::GcmDeviceInfo EasyUnlockServiceRegular::GetGcmDeviceInfo() {
if (!ash::Shell::HasInstance())
return device_info;
- ash::DisplayManager* display_manager =
+ display::DisplayManager* display_manager =
ash::Shell::GetInstance()->display_manager();
int64_t primary_display_id =
display_manager->GetPrimaryDisplayCandidate().id();

Powered by Google App Engine
This is Rietveld 408576698