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

Unified Diff: ash/system/session/tray_session_length_limit_unittest.cc

Issue 2931643002: chromeos: Introduce ash::SystemTrayTestApi (Closed)
Patch Set: review comments 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
« no previous file with comments | « ash/system/network/tray_network_unittest.cc ('k') | ash/system/supervised/tray_supervised_user_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/session/tray_session_length_limit_unittest.cc
diff --git a/ash/system/session/tray_session_length_limit_unittest.cc b/ash/system/session/tray_session_length_limit_unittest.cc
index ee907d1a4f7a98356dfca07dce83af40108d947f..60d35c41b4938137d9101ae52d692b3297ec5bfa 100644
--- a/ash/system/session/tray_session_length_limit_unittest.cc
+++ b/ash/system/session/tray_session_length_limit_unittest.cc
@@ -8,6 +8,7 @@
#include "ash/shell.h"
#include "ash/system/tray/label_tray_view.h"
#include "ash/system/tray/system_tray.h"
+#include "ash/system/tray/system_tray_test_api.h"
#include "ash/test/ash_test_base.h"
#include "base/memory/ptr_util.h"
#include "base/time/time.h"
@@ -25,8 +26,8 @@ class TraySessionLengthLimitTest : public AshTestBase {
protected:
LabelTrayView* GetSessionLengthLimitTrayView() {
- return GetPrimarySystemTray()
- ->GetTraySessionLengthLimitForTesting()
+ return SystemTrayTestApi(GetPrimarySystemTray())
+ .tray_session_length_limit()
->tray_bubble_view_;
}
« no previous file with comments | « ash/system/network/tray_network_unittest.cc ('k') | ash/system/supervised/tray_supervised_user_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698