| 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);
|
|
|