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

Unified Diff: chrome/browser/policy/enterprise_install_attributes.h

Issue 10443125: Allow re-enrollment to the same domain in case of policy data loss. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unit tests. Created 8 years, 7 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/policy/enterprise_install_attributes.h
diff --git a/chrome/browser/policy/enterprise_install_attributes.h b/chrome/browser/policy/enterprise_install_attributes.h
index f107114422a2b12def12dbccdec106f8fc89a8fa..1effa801d0da2b34210a8d6c20605a80809151ef 100644
--- a/chrome/browser/policy/enterprise_install_attributes.h
+++ b/chrome/browser/policy/enterprise_install_attributes.h
@@ -59,6 +59,9 @@ class EnterpriseInstallAttributes {
// are not locked yet will be DEVICE_MODE_UNKNOWN.
DeviceMode GetMode();
+ // Extract the domain from the given email.
+ static std::string ExtractDomainName(const std::string& email);
+
private:
// Makes sure the local caches for enterprise-related install attributes are
// up-to-date with what cryptohome has.

Powered by Google App Engine
This is Rietveld 408576698