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

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

Issue 2252173002: Make EnterpriseInstallAttributes::GetRegistrationUser() private. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « chrome/browser/chromeos/policy/enterprise_install_attributes.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c303e9ad6a37e36692a46ba3a1644dae99d7bb2d..3da20c84680bc2f69a764edf00c5dd55d15edcc5 100644
--- a/chrome/browser/chromeos/policy/enterprise_install_attributes.cc
+++ b/chrome/browser/chromeos/policy/enterprise_install_attributes.cc
@@ -337,13 +337,6 @@ bool EnterpriseInstallAttributes::IsConsumerKioskDeviceWithAutoLaunch() {
registration_mode_ == DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH;
}
-std::string EnterpriseInstallAttributes::GetRegistrationUser() {
- if (!device_locked_)
- return std::string();
-
- return registration_user_;
-}
-
std::string EnterpriseInstallAttributes::GetDomain() const {
if (!IsEnterpriseDevice())
return std::string();
@@ -497,4 +490,11 @@ void EnterpriseInstallAttributes::DecodeInstallAttributes(
}
}
+std::string EnterpriseInstallAttributes::GetRegistrationUser() const {
+ if (!device_locked_)
+ return std::string();
+
+ return registration_user_;
+}
+
} // namespace policy
« no previous file with comments | « chrome/browser/chromeos/policy/enterprise_install_attributes.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698