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

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: fix test 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
« no previous file with comments | « ash/system/chromeos/power/tray_power.h ('k') | ash/system/chromeos/rotation/tray_rotation_lock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2c3986fa97a2dcf10403823681d5a1329ed5fc73..01c8af70a684621571785c1e023dc76ab9599842 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);
« no previous file with comments | « ash/system/chromeos/power/tray_power.h ('k') | ash/system/chromeos/rotation/tray_rotation_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698