| Index: chrome/browser/chromeos/login/session/user_session_manager.h
|
| diff --git a/chrome/browser/chromeos/login/session/user_session_manager.h b/chrome/browser/chromeos/login/session/user_session_manager.h
|
| index a97dd1f1187805477b0ebfd8f8a6b1b66ae6af35..a0c79683c66d3d1e5d2c8f71be0a3ca4e794a326 100644
|
| --- a/chrome/browser/chromeos/login/session/user_session_manager.h
|
| +++ b/chrome/browser/chromeos/login/session/user_session_manager.h
|
| @@ -14,6 +14,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/observer_list.h"
|
| #include "chrome/browser/chromeos/base/locale_util.h"
|
| +#include "chrome/browser/chromeos/eol_notification.h"
|
| #include "chrome/browser/chromeos/login/signin/oauth2_login_manager.h"
|
| #include "chrome/browser/chromeos/login/signin/token_handle_util.h"
|
| #include "chromeos/dbus/session_manager_client.h"
|
| @@ -229,6 +230,9 @@ class UserSessionManager
|
| scoped_refptr<input_method::InputMethodManager::State> GetDefaultIMEState(
|
| Profile* profile);
|
|
|
| + // Check given profile's EndofLife Status and show notification accordingly.
|
| + void CheckEolStatus(Profile* profile);
|
| +
|
| // Note this could return NULL if not enabled.
|
| EasyUnlockKeyManager* GetEasyUnlockKeyManager();
|
|
|
| @@ -377,6 +381,10 @@ class UserSessionManager
|
|
|
| void CreateTokenUtilIfMissing();
|
|
|
| + // Returns |true| if given profile show see EndofLife Notification when
|
| + // applicable.
|
| + bool ShouldShowEolNotification(Profile* profile);
|
| +
|
| // Test API methods.
|
|
|
| // Injects |user_context| that will be used to create StubAuthenticator
|
| @@ -462,6 +470,10 @@ class UserSessionManager
|
| std::map<Profile*, scoped_refptr<input_method::InputMethodManager::State>,
|
| ProfileCompare> default_ime_states_;
|
|
|
| + // Per-user-session EndofLife Notification
|
| + std::map<Profile*, std::unique_ptr<EolNotification>, ProfileCompare>
|
| + eol_notification_handler_;
|
| +
|
| // Manages Easy unlock cryptohome keys.
|
| std::unique_ptr<EasyUnlockKeyManager> easy_unlock_key_manager_;
|
| bool running_easy_unlock_key_ops_;
|
|
|