Index: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h |
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h |
index 378e0723d955e071be8e5230ef13654a09c499e2..ac9f391b93e7e461b1ae20d605ff3142d0f9ddc1 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h |
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h |
@@ -39,6 +39,9 @@ struct GaiaContext { |
// Email of current user. |
std::string email; |
+ |
+ // Whether consumer management enrollment is in progress. |
+ bool is_enrolling_consumer_management; |
}; |
// A class that handles WebUI hooks in Gaia screen. |
@@ -116,7 +119,7 @@ class GaiaScreenHandler : public BaseScreenHandler { |
// principals API was used during SAML login. |
void SetSAMLPrincipalsAPIUsed(bool api_used); |
- void ShowGaia(); |
+ void ShowGaia(bool is_enrolling_consumer_management); |
// Shows signin screen after dns cache and cookie cleanup operations finish. |
void ShowGaiaScreenIfReady(); |
@@ -178,6 +181,9 @@ class GaiaScreenHandler : public BaseScreenHandler { |
// API was used. |
bool using_saml_api_; |
+ // Whether consumer management enrollment is in progress. |
+ bool is_enrolling_consumer_management_; |
+ |
// Test credentials. |
std::string test_user_; |
std::string test_pass_; |