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

Side by Side 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: rebase + switch to messages instead of listener interface Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/startup_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // Sets initial locale in local settings. 47 // Sets initial locale in local settings.
48 static void SetInitialLocale(const std::string& locale); 48 static void SetInitialLocale(const std::string& locale);
49 49
50 // Returns true if it is allowed to activate the new version of OOBE. 50 // Returns true if it is allowed to activate the new version of OOBE.
51 static bool IsNewOobeAllowed(); 51 static bool IsNewOobeAllowed();
52 52
53 // Returns true if the new version of OOBE has been activated. 53 // Returns true if the new version of OOBE has been activated.
54 static bool IsNewOobeActivated(); 54 static bool IsNewOobeActivated();
55 55
56 // Returns true if it is allowed to activate webview based signin flow.
57 static bool IsWebviewSigninAllowed();
58
59 // Returns true if webview based signin flow has been activated.
60 static bool IsWebviewSigninEnabled();
61
62 // Set enabled state for webview based signin flow if allowed. Returns true if
63 // it is allowed to activate webview based signin flow.
64 static bool EnableWebviewSignin(bool is_enabled);
65
56 // Registers OOBE preferences. 66 // Registers OOBE preferences.
57 static void RegisterPrefs(PrefRegistrySimple* registry); 67 static void RegisterPrefs(PrefRegistrySimple* registry);
58 }; 68 };
59 69
60 } // namespace chromeos 70 } // namespace chromeos
61 71
62 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ 72 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/startup_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698