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

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

Issue 2587453002: Chromad: Use different enterprise messaging in tray bubble. (Closed)
Patch Set: Remove braces Created 3 years, 12 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 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 <memory> 10 #include <memory>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 ~SystemTrayDelegateChromeOS() override; 72 ~SystemTrayDelegateChromeOS() override;
73 73
74 void InitializeOnAdapterReady( 74 void InitializeOnAdapterReady(
75 scoped_refptr<device::BluetoothAdapter> adapter); 75 scoped_refptr<device::BluetoothAdapter> adapter);
76 76
77 // Overridden from ash::SystemTrayDelegate: 77 // Overridden from ash::SystemTrayDelegate:
78 void Initialize() override; 78 void Initialize() override;
79 ash::LoginStatus GetUserLoginStatus() const override; 79 ash::LoginStatus GetUserLoginStatus() const override;
80 std::string GetEnterpriseDomain() const override; 80 std::string GetEnterpriseDomain() const override;
81 std::string GetEnterpriseRealm() const override;
82 base::string16 GetEnterpriseMessage() const override; 81 base::string16 GetEnterpriseMessage() const override;
83 std::string GetSupervisedUserManager() const override; 82 std::string GetSupervisedUserManager() const override;
84 base::string16 GetSupervisedUserManagerName() const override; 83 base::string16 GetSupervisedUserManagerName() const override;
85 base::string16 GetSupervisedUserMessage() const override; 84 base::string16 GetSupervisedUserMessage() const override;
86 bool IsUserSupervised() const override; 85 bool IsUserSupervised() const override;
87 bool IsUserChild() const override; 86 bool IsUserChild() const override;
88 bool ShouldShowSettings() const override; 87 bool ShouldShowSettings() const override;
89 bool ShouldShowNotificationTray() const override; 88 bool ShouldShowNotificationTray() const override;
90 void ShowEnterpriseInfo() override; 89 void ShowEnterpriseInfo() override;
91 void ShowUserLogin() override; 90 void ShowUserLogin() override;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 std::unique_ptr<content::NotificationRegistrar> registrar_; 227 std::unique_ptr<content::NotificationRegistrar> registrar_;
229 std::unique_ptr<PrefChangeRegistrar> local_state_registrar_; 228 std::unique_ptr<PrefChangeRegistrar> local_state_registrar_;
230 std::unique_ptr<PrefChangeRegistrar> user_pref_registrar_; 229 std::unique_ptr<PrefChangeRegistrar> user_pref_registrar_;
231 Profile* user_profile_ = nullptr; 230 Profile* user_profile_ = nullptr;
232 int search_key_mapped_to_ = input_method::kSearchKey; 231 int search_key_mapped_to_ = input_method::kSearchKey;
233 bool have_session_start_time_ = false; 232 bool have_session_start_time_ = false;
234 base::TimeTicks session_start_time_; 233 base::TimeTicks session_start_time_;
235 bool have_session_length_limit_ = false; 234 bool have_session_length_limit_ = false;
236 base::TimeDelta session_length_limit_; 235 base::TimeDelta session_length_limit_;
237 std::string enterprise_domain_; 236 std::string enterprise_domain_;
238 std::string enterprise_realm_; 237 bool is_active_directory_managed_ = false;
239 bool should_run_bluetooth_discovery_ = false; 238 bool should_run_bluetooth_discovery_ = false;
240 bool session_started_ = false; 239 bool session_started_ = false;
241 240
242 scoped_refptr<device::BluetoothAdapter> bluetooth_adapter_; 241 scoped_refptr<device::BluetoothAdapter> bluetooth_adapter_;
243 std::unique_ptr<device::BluetoothDiscoverySession> 242 std::unique_ptr<device::BluetoothDiscoverySession>
244 bluetooth_discovery_session_; 243 bluetooth_discovery_session_;
245 std::unique_ptr<ash::NetworkingConfigDelegate> networking_config_delegate_; 244 std::unique_ptr<ash::NetworkingConfigDelegate> networking_config_delegate_;
246 std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_; 245 std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_;
247 246
248 base::ObserverList<ash::CustodianInfoTrayObserver> 247 base::ObserverList<ash::CustodianInfoTrayObserver>
249 custodian_info_changed_observers_; 248 custodian_info_changed_observers_;
250 249
251 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; 250 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_;
252 251
253 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); 252 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS);
254 }; 253 };
255 254
256 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); 255 ash::SystemTrayDelegate* CreateSystemTrayDelegate();
257 256
258 } // namespace chromeos 257 } // namespace chromeos
259 258
260 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ 259 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('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