Index: chrome/browser/ui/ash/session_controller_client.h |
diff --git a/chrome/browser/ui/ash/session_controller_client.h b/chrome/browser/ui/ash/session_controller_client.h |
index 4241d8464cf8e3e107f12faeed9e134a8b8baabd..9fffbe0a47eac7d325d190d37d70297a51780446 100644 |
--- a/chrome/browser/ui/ash/session_controller_client.h |
+++ b/chrome/browser/ui/ash/session_controller_client.h |
@@ -95,6 +95,7 @@ class SessionControllerClient |
static void FlushForTesting(); |
private: |
+ FRIEND_TEST_ALL_PREFIXES(SessionControllerClientTest, SendUserSession); |
FRIEND_TEST_ALL_PREFIXES(SessionControllerClientTest, SupervisedUser); |
// Called when the login profile is ready. |
@@ -130,7 +131,9 @@ class SessionControllerClient |
content::NotificationRegistrar registrar_; |
+ // Used to suppress duplicate IPCs to ash. |
ash::mojom::SessionInfoPtr last_sent_session_info_; |
+ ash::mojom::UserSessionPtr last_sent_user_session_; |
base::WeakPtrFactory<SessionControllerClient> weak_ptr_factory_; |