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

Unified Diff: ash/system/tray/system_tray.cc

Issue 2931643002: chromeos: Introduce ash::SystemTrayTestApi (Closed)
Patch Set: Created 3 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/tray/system_tray.cc
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
index 121f24539ac1f98607b70ae99f87f5819fe4429b..f67d1ca7d0e3545682664abd9f90a9ae6ca0b934 100644
--- a/ash/system/tray/system_tray.cc
+++ b/ash/system/tray/system_tray.cc
@@ -588,30 +588,6 @@ void SystemTray::HideBubble(const TrayBubbleView* bubble_view) {
HideBubbleWithView(bubble_view);
}
-TrayCast* SystemTray::GetTrayCastForTesting() const {
- return tray_cast_;
-}
-
-TrayEnterprise* SystemTray::GetTrayEnterpriseForTesting() const {
- return tray_enterprise_;
-}
-
-TrayNetwork* SystemTray::GetTrayNetworkForTesting() const {
- return tray_network_;
-}
-
-TraySupervisedUser* SystemTray::GetTraySupervisedUserForTesting() const {
- return tray_supervised_user_;
-}
-
-TraySystemInfo* SystemTray::GetTraySystemInfoForTesting() const {
- return tray_system_info_;
-}
-
-TrayTiles* SystemTray::GetTrayTilesForTesting() const {
- return tray_tiles_;
-}
-
void SystemTray::CloseBubble(const ui::KeyEvent& key_event) {
CloseSystemBubble();
}

Powered by Google App Engine
This is Rietveld 408576698