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

Unified Diff: ash/common/system/chromeos/system_clock_observer.cc

Issue 2775973002: Promotes more accessors from WmShell to Shell (Closed)
Patch Set: Created 3 years, 9 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/common/system/chromeos/system_clock_observer.cc
diff --git a/ash/common/system/chromeos/system_clock_observer.cc b/ash/common/system/chromeos/system_clock_observer.cc
index 984c6ca11aa406935bf27589163994dad492d91e..d369083a99eeaf13ceb2c3e85489feda81b83cb2 100644
--- a/ash/common/system/chromeos/system_clock_observer.cc
+++ b/ash/common/system/chromeos/system_clock_observer.cc
@@ -5,7 +5,7 @@
#include "ash/common/system/chromeos/system_clock_observer.h"
#include "ash/common/system/tray/system_tray_notifier.h"
-#include "ash/common/wm_shell.h"
+#include "ash/shell.h"
#include "chromeos/dbus/dbus_thread_manager.h"
namespace ash {
@@ -24,17 +24,17 @@ SystemClockObserver::~SystemClockObserver() {
}
void SystemClockObserver::SystemClockUpdated() {
- WmShell::Get()->system_tray_notifier()->NotifySystemClockTimeUpdated();
+ Shell::Get()->system_tray_notifier()->NotifySystemClockTimeUpdated();
}
void SystemClockObserver::SystemClockCanSetTimeChanged(bool can_set_time) {
can_set_time_ = can_set_time;
- WmShell::Get()->system_tray_notifier()->NotifySystemClockCanSetTimeChanged(
+ Shell::Get()->system_tray_notifier()->NotifySystemClockCanSetTimeChanged(
can_set_time_);
}
void SystemClockObserver::TimezoneChanged(const icu::TimeZone& timezone) {
- WmShell::Get()->system_tray_notifier()->NotifyRefreshClock();
+ Shell::Get()->system_tray_notifier()->NotifyRefreshClock();
}
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698