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

Side by Side Diff: chrome/browser/chromeos/login/startup_utils.h

Issue 1181703008: Removed webui_generator and new OOBE UI placeholder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed empty line. Created 5 years, 6 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 | « chrome/browser/chromeos/BUILD.gn ('k') | 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 29 matching lines...) Expand all
40 40
41 // Mark a device as requiring enrollment recovery. 41 // Mark a device as requiring enrollment recovery.
42 static void MarkEnrollmentRecoveryRequired(); 42 static void MarkEnrollmentRecoveryRequired();
43 43
44 // Returns initial locale from local settings. 44 // Returns initial locale from local settings.
45 static std::string GetInitialLocale(); 45 static std::string GetInitialLocale();
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.
51 static bool IsNewOobeAllowed();
52
53 // Returns true if the new version of OOBE has been activated.
54 static bool IsNewOobeActivated();
55
56 // Returns true if it is allowed to activate webview based signin flow. 50 // Returns true if it is allowed to activate webview based signin flow.
57 static bool IsWebviewSigninAllowed(); 51 static bool IsWebviewSigninAllowed();
58 52
59 // Returns true if webview based signin flow has been activated. 53 // Returns true if webview based signin flow has been activated.
60 static bool IsWebviewSigninEnabled(); 54 static bool IsWebviewSigninEnabled();
61 55
62 // Set enabled state for webview based signin flow if allowed. Returns true if 56 // Set enabled state for webview based signin flow if allowed. Returns true if
63 // it is allowed to activate webview based signin flow. 57 // it is allowed to activate webview based signin flow.
64 static bool EnableWebviewSignin(bool is_enabled); 58 static bool EnableWebviewSignin(bool is_enabled);
65 59
66 // Registers OOBE preferences. 60 // Registers OOBE preferences.
67 static void RegisterPrefs(PrefRegistrySimple* registry); 61 static void RegisterPrefs(PrefRegistrySimple* registry);
68 }; 62 };
69 63
70 } // namespace chromeos 64 } // namespace chromeos
71 65
72 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ 66 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/BUILD.gn ('k') | chrome/browser/chromeos/login/startup_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698