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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.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
Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.h
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.h b/chrome/browser/ui/ash/system_tray_delegate_chromeos.h
index c75fcf61b9cc61c9d1dcdc4cfe58c4ca02fe99fd..a7d6a9ba034cb011dcc0b9a2b74eb1137c96d801 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.h
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.h
@@ -53,8 +53,6 @@ class SystemTrayDelegateChromeOS
void GetCurrentIMEProperties(ash::IMEPropertyInfoList* list) override;
base::string16 GetIMEManagedMessage() override;
ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override;
- bool GetSessionStartTime(base::TimeTicks* session_start_time) override;
- bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override;
void ActiveUserWasChanged() override;
bool IsSearchKeyMappedToCapsLock() override;
@@ -118,15 +116,9 @@ class SystemTrayDelegateChromeOS
override;
std::unique_ptr<content::NotificationRegistrar> registrar_;
- std::unique_ptr<PrefChangeRegistrar> local_state_registrar_;
std::unique_ptr<PrefChangeRegistrar> user_pref_registrar_;
Profile* user_profile_ = nullptr;
int search_key_mapped_to_ = input_method::kSearchKey;
- bool have_session_start_time_ = false;
- base::TimeTicks session_start_time_;
- bool have_session_length_limit_ = false;
- base::TimeDelta session_length_limit_;
- bool session_started_ = false;
std::unique_ptr<ash::NetworkingConfigDelegate> networking_config_delegate_;
std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_;
« no previous file with comments | « chrome/browser/ui/ash/session_controller_client_unittest.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698