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

Unified Diff: ash/system/tray/system_tray_delegate.h

Issue 627593003: Adding infrastructure for possibility of changing manager names for the supervised accounts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Daniel's comments addressed. Created 6 years, 2 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: ash/system/tray/system_tray_delegate.h
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h
index d55e2ae8e32febe3c44ff452cb66aee5dcf84d4d..dd38b9caf606b6407cee5aed2b7a5ef29a0f5e50 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -10,6 +10,7 @@
#include "ash/ash_export.h"
#include "ash/system/user/login_status.h"
+#include "base/callback_forward.h"
#include "base/files/file_path.h"
#include "base/i18n/time_formatting.h"
#include "base/memory/scoped_ptr.h"
@@ -23,6 +24,8 @@ class TimeTicks;
namespace ash {
+class CustodianInfoTrayObserver;
+
struct ASH_EXPORT NetworkIconInfo {
NetworkIconInfo();
~NetworkIconInfo();
@@ -311,6 +314,15 @@ class ASH_EXPORT SystemTrayDelegate {
// Returns accounts delegate for given user.
virtual tray::UserAccountsDelegate* GetUserAccountsDelegate(
const std::string& user_id) = 0;
+
+ // Adding observers that are notified when supervised info is being changed.
+ virtual void AddCustodianInfoTrayObserver(
+ CustodianInfoTrayObserver* observer) {
+ };
Daniel Erat 2014/10/08 14:10:46 every other method in this interface is abstract,
+
+ virtual void RemoveCustodianInfoTrayObserver(
+ CustodianInfoTrayObserver* observer) {
+ };
};
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698