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

Unified Diff: chrome/browser/chromeos/login/login_utils.h

Issue 148843002: Make an online wildcard login check for enterprise devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Filter out well-known consumer domains. Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/login_utils.h
diff --git a/chrome/browser/chromeos/login/login_utils.h b/chrome/browser/chromeos/login/login_utils.h
index 52f2deb24dee13d7518a43bddf1a5dd391fb6abe..1ef265ce92942ff02742fcaed5014b810475b570 100644
--- a/chrome/browser/chromeos/login/login_utils.h
+++ b/chrome/browser/chromeos/login/login_utils.h
@@ -11,9 +11,9 @@
class CommandLine;
class GURL;
-class Profile;
class PrefRegistrySimple;
class PrefService;
+class Profile;
namespace chromeos {
@@ -48,8 +48,9 @@ class LoginUtils {
static void Set(LoginUtils* ptr);
// Checks if the given username is whitelisted and allowed to sign-in to
- // this device.
- static bool IsWhitelisted(const std::string& username);
+ // 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);
virtual ~LoginUtils() {}

Powered by Google App Engine
This is Rietveld 408576698