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

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

Issue 148843002: Make an online wildcard login check for enterprise devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments 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/settings/cros_settings.h
diff --git a/chrome/browser/chromeos/settings/cros_settings.h b/chrome/browser/chromeos/settings/cros_settings.h
index 2fa5e5064ef1f484f8818b76a0b14e15e095d3d6..05db94fa7a09157c3d0805af37d152af044b6f40 100644
--- a/chrome/browser/chromeos/settings/cros_settings.h
+++ b/chrome/browser/chromeos/settings/cros_settings.h
@@ -86,8 +86,11 @@ class CrosSettings : public base::NonThreadSafe {
// Helper function for the whitelist op. Implemented here because we will need
// this in a few places. The functions searches for |email| in the pref |path|
- // It respects whitelists so foo@bar.baz will match *@bar.baz too.
- bool FindEmailInList(const std::string& path, const std::string& email) const;
+ // It respects whitelists so foo@bar.baz will match *@bar.baz too. If the
+ // match was via a wildcard, |wildcard_match| is set to true.
+ bool FindEmailInList(const std::string& path,
+ const std::string& email,
+ bool* wildcard_match) const;
// Adding/removing of providers.
bool AddSettingsProvider(CrosSettingsProvider* provider);
« no previous file with comments | « chrome/browser/chromeos/policy/wildcard_login_checker.cc ('k') | chrome/browser/chromeos/settings/cros_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698