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

Unified Diff: chrome/browser/chromeos/policy/enterprise_install_attributes.cc

Issue 1262883003: Revert of Added affiliation IDs for the new affiliation determination. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/policy/enterprise_install_attributes.cc
diff --git a/chrome/browser/chromeos/policy/enterprise_install_attributes.cc b/chrome/browser/chromeos/policy/enterprise_install_attributes.cc
index 5e0db82d6ba15beb0f8f96ff462718f8a4085ff9..a2d4d1e32c580f17089dbaff384618dfda80df9d 100644
--- a/chrome/browser/chromeos/policy/enterprise_install_attributes.cc
+++ b/chrome/browser/chromeos/policy/enterprise_install_attributes.cc
@@ -324,7 +324,7 @@
callback.Run(LOCK_SUCCESS);
}
-bool EnterpriseInstallAttributes::IsEnterpriseDevice() const {
+bool EnterpriseInstallAttributes::IsEnterpriseDevice() {
return device_locked_ && !registration_user_.empty();
}
@@ -340,7 +340,7 @@
return registration_user_;
}
-std::string EnterpriseInstallAttributes::GetDomain() const {
+std::string EnterpriseInstallAttributes::GetDomain() {
if (!IsEnterpriseDevice())
return std::string();

Powered by Google App Engine
This is Rietveld 408576698