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

Unified Diff: chrome/browser/chromeos/login/startup_utils.h

Issue 789353004: Host Chrome OS GAIA signin page in webview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed GAIA reload case Created 6 years 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/startup_utils.h
diff --git a/chrome/browser/chromeos/login/startup_utils.h b/chrome/browser/chromeos/login/startup_utils.h
index 9120f48125b6bbfbb2c000e5fe2b602d09e5f69f..b9dd47a46d6753250a40b022c2b16b7ce757fb13 100644
--- a/chrome/browser/chromeos/login/startup_utils.h
+++ b/chrome/browser/chromeos/login/startup_utils.h
@@ -53,6 +53,16 @@ class StartupUtils {
// Returns true if the new version of OOBE has been activated.
static bool IsNewOobeActivated();
+ // Returns true if it is allowed to activate webview based signin flow.
+ static bool IsWebviewSigninAllowed();
+
+ // Returns true if webview based signin flow has been activated.
+ static bool IsWebviewSigninEnabled();
+
+ // Set enabled state for webview based signin flow if allowed. Returns true if
+ // it is allowed to activate webview based signin flow.
+ static bool EnableWebviewSignin(bool is_enabled);
+
// Registers OOBE preferences.
static void RegisterPrefs(PrefRegistrySimple* registry);
};

Powered by Google App Engine
This is Rietveld 408576698