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

Side by Side Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.h

Issue 2491623003: Show realm in device owner notice (Closed)
Patch Set: rebase Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 ~SystemTrayDelegateChromeOS() override; 76 ~SystemTrayDelegateChromeOS() override;
77 77
78 void InitializeOnAdapterReady( 78 void InitializeOnAdapterReady(
79 scoped_refptr<device::BluetoothAdapter> adapter); 79 scoped_refptr<device::BluetoothAdapter> adapter);
80 80
81 // Overridden from ash::SystemTrayDelegate: 81 // Overridden from ash::SystemTrayDelegate:
82 void Initialize() override; 82 void Initialize() override;
83 ash::LoginStatus GetUserLoginStatus() const override; 83 ash::LoginStatus GetUserLoginStatus() const override;
84 std::string GetEnterpriseDomain() const override; 84 std::string GetEnterpriseDomain() const override;
85 std::string GetEnterpriseRealm() const override;
85 base::string16 GetEnterpriseMessage() const override; 86 base::string16 GetEnterpriseMessage() const override;
86 std::string GetSupervisedUserManager() const override; 87 std::string GetSupervisedUserManager() const override;
87 base::string16 GetSupervisedUserManagerName() const override; 88 base::string16 GetSupervisedUserManagerName() const override;
88 base::string16 GetSupervisedUserMessage() const override; 89 base::string16 GetSupervisedUserMessage() const override;
89 bool IsUserSupervised() const override; 90 bool IsUserSupervised() const override;
90 bool IsUserChild() const override; 91 bool IsUserChild() const override;
91 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override; 92 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override;
92 bool ShouldShowSettings() override; 93 bool ShouldShowSettings() override;
93 void ShowEnterpriseInfo() override; 94 void ShowEnterpriseInfo() override;
94 void ShowUserLogin() override; 95 void ShowUserLogin() override;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 std::unique_ptr<content::NotificationRegistrar> registrar_; 254 std::unique_ptr<content::NotificationRegistrar> registrar_;
254 std::unique_ptr<PrefChangeRegistrar> local_state_registrar_; 255 std::unique_ptr<PrefChangeRegistrar> local_state_registrar_;
255 std::unique_ptr<PrefChangeRegistrar> user_pref_registrar_; 256 std::unique_ptr<PrefChangeRegistrar> user_pref_registrar_;
256 Profile* user_profile_ = nullptr; 257 Profile* user_profile_ = nullptr;
257 int search_key_mapped_to_ = input_method::kSearchKey; 258 int search_key_mapped_to_ = input_method::kSearchKey;
258 bool have_session_start_time_ = false; 259 bool have_session_start_time_ = false;
259 base::TimeTicks session_start_time_; 260 base::TimeTicks session_start_time_;
260 bool have_session_length_limit_ = false; 261 bool have_session_length_limit_ = false;
261 base::TimeDelta session_length_limit_; 262 base::TimeDelta session_length_limit_;
262 std::string enterprise_domain_; 263 std::string enterprise_domain_;
264 std::string enterprise_realm_;
263 bool should_run_bluetooth_discovery_ = false; 265 bool should_run_bluetooth_discovery_ = false;
264 bool session_started_ = false; 266 bool session_started_ = false;
265 267
266 scoped_refptr<device::BluetoothAdapter> bluetooth_adapter_; 268 scoped_refptr<device::BluetoothAdapter> bluetooth_adapter_;
267 std::unique_ptr<device::BluetoothDiscoverySession> 269 std::unique_ptr<device::BluetoothDiscoverySession>
268 bluetooth_discovery_session_; 270 bluetooth_discovery_session_;
269 std::unique_ptr<ash::CastConfigDelegate> cast_config_delegate_; 271 std::unique_ptr<ash::CastConfigDelegate> cast_config_delegate_;
270 std::unique_ptr<ash::NetworkingConfigDelegate> networking_config_delegate_; 272 std::unique_ptr<ash::NetworkingConfigDelegate> networking_config_delegate_;
271 std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_; 273 std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_;
272 std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_; 274 std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_;
273 std::unique_ptr<ash::VPNDelegate> vpn_delegate_; 275 std::unique_ptr<ash::VPNDelegate> vpn_delegate_;
274 276
275 base::ObserverList<ash::CustodianInfoTrayObserver> 277 base::ObserverList<ash::CustodianInfoTrayObserver>
276 custodian_info_changed_observers_; 278 custodian_info_changed_observers_;
277 279
278 base::ObserverList<ash::ShutdownPolicyObserver> shutdown_policy_observers_; 280 base::ObserverList<ash::ShutdownPolicyObserver> shutdown_policy_observers_;
279 281
280 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; 282 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_;
281 283
282 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); 284 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS);
283 }; 285 };
284 286
285 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); 287 ash::SystemTrayDelegate* CreateSystemTrayDelegate();
286 288
287 } // namespace chromeos 289 } // namespace chromeos
288 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ 290 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.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