Chromium Code Reviews| Index: ash/system/tray/system_tray_notifier.cc |
| diff --git a/ash/system/tray/system_tray_notifier.cc b/ash/system/tray/system_tray_notifier.cc |
| index e2035ad357feac1cf666d476d936a5477be47190..49d8e1f432c3d9c63ee4d93c60f97678320572cb 100644 |
| --- a/ash/system/tray/system_tray_notifier.cc |
| +++ b/ash/system/tray/system_tray_notifier.cc |
| @@ -3,6 +3,7 @@ |
| // found in the LICENSE file. |
| #include "ash/system/tray/system_tray_notifier.h" |
| +#include "base/time/time.h" |
|
bartfab (slow)
2013/12/10 12:41:16
Nit 1: This is #included by the header file alread
binjin
2013/12/12 13:56:55
Done.
|
| #if defined(OS_CHROMEOS) |
| #include "ash/system/chromeos/network/network_state_notifier.h" |
| @@ -232,6 +233,13 @@ void SystemTrayNotifier::NotifyShowLoginButtonChanged(bool show_login_button) { |
| OnShowLogoutButtonInTrayChanged(show_login_button)); |
| } |
| +void SystemTrayNotifier::NotifyLogoutDialogDurationChanged( |
| + base::TimeDelta duration) { |
| + FOR_EACH_OBSERVER(LogoutButtonObserver, |
| + logout_button_observers_, |
| + OnLogoutDialogDurationChanged(duration)); |
| +} |
| + |
| void SystemTrayNotifier::NotifyLocaleChanged( |
| LocaleObserver::Delegate* delegate, |
| const std::string& cur_locale, |