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

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.h

Issue 2060623002: Implementation of Device End of Life Notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hook EolNotification in UserSessionManager::FinalizePrepareProfile Created 4 years, 6 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: 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..63cda675438a00ce7ac671183c8e612a9800bcf8 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"
@@ -377,6 +378,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 +467,9 @@ class UserSessionManager
std::map<Profile*, scoped_refptr<input_method::InputMethodManager::State>,
ProfileCompare> default_ime_states_;
+ // Used to Add/Update Eol notification
+ std::unique_ptr<EolNotification> eol_notification_;
+
// Manages Easy unlock cryptohome keys.
std::unique_ptr<EasyUnlockKeyManager> easy_unlock_key_manager_;
bool running_easy_unlock_key_ops_;

Powered by Google App Engine
This is Rietveld 408576698