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

Unified Diff: ash/test/test_system_tray_delegate.h

Issue 2923083002: chromeos: Convert system tray session length limit to mojo (Closed)
Patch Set: rebase 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/tray/system_tray_notifier.cc ('k') | ash/test/test_system_tray_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_system_tray_delegate.h
diff --git a/ash/test/test_system_tray_delegate.h b/ash/test/test_system_tray_delegate.h
index 86e17f4a7517d5c4463fe0a3d6b8ca4682484467..38548c020603ddbb2b020ab35355aad7832840f9 100644
--- a/ash/test/test_system_tray_delegate.h
+++ b/ash/test/test_system_tray_delegate.h
@@ -8,7 +8,6 @@
#include "ash/system/tray/ime_info.h"
#include "ash/system/tray/system_tray_delegate.h"
#include "base/macros.h"
-#include "base/time/time.h"
namespace ash {
namespace test {
@@ -18,13 +17,6 @@ class TestSystemTrayDelegate : public SystemTrayDelegate {
TestSystemTrayDelegate();
~TestSystemTrayDelegate() override;
- // Updates the session length limit so that the limit will come from now in
- // |new_limit|.
- void SetSessionLengthLimitForTest(const base::TimeDelta& new_limit);
-
- // Clears the session length limit.
- void ClearSessionLengthLimit();
-
// Sets the IME info.
void SetCurrentIME(const IMEInfo& info);
@@ -32,14 +24,10 @@ class TestSystemTrayDelegate : public SystemTrayDelegate {
void SetAvailableIMEList(const IMEInfoList& list);
// SystemTrayDelegate:
- bool GetSessionStartTime(base::TimeTicks* session_start_time) override;
- bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override;
void GetCurrentIME(IMEInfo* info) override;
void GetAvailableIMEList(IMEInfoList* list) override;
private:
- base::TimeDelta session_length_limit_;
- bool session_length_limit_set_ = false;
IMEInfo current_ime_;
IMEInfoList ime_list_;
« no previous file with comments | « ash/system/tray/system_tray_notifier.cc ('k') | ash/test/test_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698