Chromium Code Reviews| 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..bad2919039465358cacee8873488a5a41f1f9d74 100644 |
| --- a/chrome/browser/chromeos/login/startup_utils.h |
| +++ b/chrome/browser/chromeos/login/startup_utils.h |
| @@ -53,6 +53,15 @@ 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. |
|
dzhioev (left Google)
2014/12/25 13:28:46
nit: add comment about returned value.
Dmitry Polukhin
2014/12/25 15:53:55
Done.
|
| + static bool EnableWebviewSignin(bool is_enabled); |
| + |
| // Registers OOBE preferences. |
| static void RegisterPrefs(PrefRegistrySimple* registry); |
| }; |