| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 ~SystemTrayDelegateChromeOS() override; | 75 ~SystemTrayDelegateChromeOS() override; |
| 76 | 76 |
| 77 void InitializeOnAdapterReady( | 77 void InitializeOnAdapterReady( |
| 78 scoped_refptr<device::BluetoothAdapter> adapter); | 78 scoped_refptr<device::BluetoothAdapter> adapter); |
| 79 | 79 |
| 80 // Overridden from ash::SystemTrayDelegate: | 80 // Overridden from ash::SystemTrayDelegate: |
| 81 void Initialize() override; | 81 void Initialize() override; |
| 82 ash::LoginStatus GetUserLoginStatus() const override; | 82 ash::LoginStatus GetUserLoginStatus() const override; |
| 83 std::string GetEnterpriseDomain() const override; | 83 std::string GetEnterpriseDomain() const override; |
| 84 std::string GetEnterpriseRealm() const override; |
| 84 base::string16 GetEnterpriseMessage() const override; | 85 base::string16 GetEnterpriseMessage() const override; |
| 85 std::string GetSupervisedUserManager() const override; | 86 std::string GetSupervisedUserManager() const override; |
| 86 base::string16 GetSupervisedUserManagerName() const override; | 87 base::string16 GetSupervisedUserManagerName() const override; |
| 87 base::string16 GetSupervisedUserMessage() const override; | 88 base::string16 GetSupervisedUserMessage() const override; |
| 88 bool IsUserSupervised() const override; | 89 bool IsUserSupervised() const override; |
| 89 bool IsUserChild() const override; | 90 bool IsUserChild() const override; |
| 90 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override; | 91 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override; |
| 91 bool ShouldShowSettings() override; | 92 bool ShouldShowSettings() override; |
| 92 void ShowSetTimeDialog() override; | 93 void ShowSetTimeDialog() override; |
| 93 void ShowEnterpriseInfo() override; | 94 void ShowEnterpriseInfo() override; |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 std::unique_ptr<content::NotificationRegistrar> registrar_; | 257 std::unique_ptr<content::NotificationRegistrar> registrar_; |
| 257 std::unique_ptr<PrefChangeRegistrar> local_state_registrar_; | 258 std::unique_ptr<PrefChangeRegistrar> local_state_registrar_; |
| 258 std::unique_ptr<PrefChangeRegistrar> user_pref_registrar_; | 259 std::unique_ptr<PrefChangeRegistrar> user_pref_registrar_; |
| 259 Profile* user_profile_; | 260 Profile* user_profile_; |
| 260 int search_key_mapped_to_; | 261 int search_key_mapped_to_; |
| 261 bool have_session_start_time_; | 262 bool have_session_start_time_; |
| 262 base::TimeTicks session_start_time_; | 263 base::TimeTicks session_start_time_; |
| 263 bool have_session_length_limit_; | 264 bool have_session_length_limit_; |
| 264 base::TimeDelta session_length_limit_; | 265 base::TimeDelta session_length_limit_; |
| 265 std::string enterprise_domain_; | 266 std::string enterprise_domain_; |
| 267 std::string enterprise_realm_; |
| 266 bool should_run_bluetooth_discovery_; | 268 bool should_run_bluetooth_discovery_; |
| 267 bool session_started_; | 269 bool session_started_; |
| 268 | 270 |
| 269 scoped_refptr<device::BluetoothAdapter> bluetooth_adapter_; | 271 scoped_refptr<device::BluetoothAdapter> bluetooth_adapter_; |
| 270 std::unique_ptr<device::BluetoothDiscoverySession> | 272 std::unique_ptr<device::BluetoothDiscoverySession> |
| 271 bluetooth_discovery_session_; | 273 bluetooth_discovery_session_; |
| 272 std::unique_ptr<ash::CastConfigDelegate> cast_config_delegate_; | 274 std::unique_ptr<ash::CastConfigDelegate> cast_config_delegate_; |
| 273 std::unique_ptr<ash::NetworkingConfigDelegate> networking_config_delegate_; | 275 std::unique_ptr<ash::NetworkingConfigDelegate> networking_config_delegate_; |
| 274 std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_; | 276 std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_; |
| 275 std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_; | 277 std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_; |
| 276 std::unique_ptr<ash::VPNDelegate> vpn_delegate_; | 278 std::unique_ptr<ash::VPNDelegate> vpn_delegate_; |
| 277 | 279 |
| 278 base::ObserverList<ash::CustodianInfoTrayObserver> | 280 base::ObserverList<ash::CustodianInfoTrayObserver> |
| 279 custodian_info_changed_observers_; | 281 custodian_info_changed_observers_; |
| 280 | 282 |
| 281 base::ObserverList<ash::ShutdownPolicyObserver> shutdown_policy_observers_; | 283 base::ObserverList<ash::ShutdownPolicyObserver> shutdown_policy_observers_; |
| 282 | 284 |
| 283 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; | 285 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; |
| 284 | 286 |
| 285 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); | 287 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); |
| 286 }; | 288 }; |
| 287 | 289 |
| 288 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); | 290 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); |
| 289 | 291 |
| 290 } // namespace chromeos | 292 } // namespace chromeos |
| 291 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 293 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
| OLD | NEW |