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

Unified Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h

Issue 426153003: Consumer management enrollment signin screen change: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added owner email check. Created 6 years, 5 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/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_;

Powered by Google App Engine
This is Rietveld 408576698