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

Unified Diff: chrome/browser/chromeos/settings/cros_settings.h

Issue 745613002: [cros] Cleanup: remove LoginUtils (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get rid of FakeChromeUserManager usage in ExistingUserController* tests Created 5 years, 10 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/chromeos/settings/cros_settings.h
diff --git a/chrome/browser/chromeos/settings/cros_settings.h b/chrome/browser/chromeos/settings/cros_settings.h
index f7becbe43a0eb92f6347e64dab3859616e212c08..366e15ca8922f7e900a2ea5103db7f42272071b9 100644
--- a/chrome/browser/chromeos/settings/cros_settings.h
+++ b/chrome/browser/chromeos/settings/cros_settings.h
@@ -35,6 +35,11 @@ class CrosSettings : public base::NonThreadSafe {
static void Shutdown();
static CrosSettings* Get();
+ // Checks if the given username is whitelisted and allowed to sign-in to
+ // this device. |wildcard_match| may be NULL. If it's present, it'll be set to
+ // true if the whitelist check was satisfied via a wildcard.
+ static bool IsWhitelisted(const std::string& username, bool* wildcard_match);
+
// Creates a device settings service instance. This is meant for unit tests,
// production code uses the singleton returned by Get() above.
explicit CrosSettings(DeviceSettingsService* device_settings_service);
« no previous file with comments | « chrome/browser/chromeos/profiles/profile_helper.h ('k') | chrome/browser/chromeos/settings/cros_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698