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

Unified Diff: ash/system/chromeos/power/tray_power.cc

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks Created 4 years, 6 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: ash/system/chromeos/power/tray_power.cc
diff --git a/ash/system/chromeos/power/tray_power.cc b/ash/system/chromeos/power/tray_power.cc
index 7c08d719bfcdf68f44e7e18192a79f78de9c7865..63bda9e15ab446204bf0edda9216eee523f0d989 100644
--- a/ash/system/chromeos/power/tray_power.cc
+++ b/ash/system/chromeos/power/tray_power.cc
@@ -161,7 +161,7 @@ TrayPower::~TrayPower() {
message_center_->RemoveNotification(kUsbNotificationId, false);
}
-views::View* TrayPower::CreateTrayView(user::LoginStatus status) {
+views::View* TrayPower::CreateTrayView(LoginStatus status) {
// There may not be enough information when this is created about whether
// there is a battery or not. So always create this, and adjust visibility as
// necessary.
@@ -171,7 +171,7 @@ views::View* TrayPower::CreateTrayView(user::LoginStatus status) {
return power_tray_;
}
-views::View* TrayPower::CreateDefaultView(user::LoginStatus status) {
+views::View* TrayPower::CreateDefaultView(LoginStatus status) {
// Make sure icon status is up-to-date. (Also triggers stub activation).
PowerStatus::Get()->RequestStatusUpdate();
return NULL;
@@ -184,8 +184,7 @@ void TrayPower::DestroyTrayView() {
void TrayPower::DestroyDefaultView() {
}
-void TrayPower::UpdateAfterLoginStatusChange(user::LoginStatus status) {
-}
+void TrayPower::UpdateAfterLoginStatusChange(LoginStatus status) {}
void TrayPower::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) {
SetTrayImageItemBorder(power_tray_, alignment);

Powered by Google App Engine
This is Rietveld 408576698