Chromium Code Reviews| 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 67d1f8cf32bc0a917ce0f77d2f37ae99b7e102f4..c0026591e5f64dad4073cc2d24a74e721a768e1a 100644 |
| --- a/ash/system/tray/system_tray_delegate.h |
| +++ b/ash/system/tray/system_tray_delegate.h |
| @@ -111,6 +111,10 @@ typedef std::vector<IMEInfo> IMEInfoList; |
| class VolumeControlDelegate; |
| +namespace tray { |
| +class UserAccountsDelegate; |
| +} // namespace tray |
|
oshima
2014/03/31 23:07:52
namespace comment for forward decls is optional (t
|
| + |
| class ASH_EXPORT SystemTrayDelegate { |
| public: |
| virtual ~SystemTrayDelegate() {} |
| @@ -330,7 +334,12 @@ class ASH_EXPORT SystemTrayDelegate { |
| // Returns true when the Search key is configured to be treated as Caps Lock. |
| virtual bool IsSearchKeyMappedToCapsLock() = 0; |
| + |
| + // Returns accounts delegate for given user. |
| + virtual tray::UserAccountsDelegate* GetUserAccountsDelegate( |
| + const std::string& user_id) = 0; |
| }; |
| + |
| } // namespace ash |
| #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |