| Index: chrome/browser/chromeos/policy/enterprise_install_attributes.h
|
| diff --git a/chrome/browser/chromeos/policy/enterprise_install_attributes.h b/chrome/browser/chromeos/policy/enterprise_install_attributes.h
|
| index 3fb7b903a10779944002b27aab51504629e78e47..8863a372ca5e656296efd6b56a0d4673826c4699 100644
|
| --- a/chrome/browser/chromeos/policy/enterprise_install_attributes.h
|
| +++ b/chrome/browser/chromeos/policy/enterprise_install_attributes.h
|
| @@ -84,10 +84,6 @@ class EnterpriseInstallAttributes {
|
| // not an enterprise device.
|
| std::string GetDomain() const;
|
|
|
| - // Gets the user that registered the device. Returns an empty string if the
|
| - // device is not an enterprise device.
|
| - std::string GetRegistrationUser();
|
| -
|
| // Gets the device id that was generated when the device was registered.
|
| // Returns an empty string if the device is not an enterprise device or the
|
| // device id was not stored in the lockbox (prior to R19).
|
| @@ -119,9 +115,12 @@ class EnterpriseInstallAttributes {
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(EnterpriseInstallAttributesTest,
|
| DeviceLockedFromOlderVersion);
|
| + FRIEND_TEST_ALL_PREFIXES(EnterpriseInstallAttributesTest,
|
| + GetRegistrationUser);
|
| FRIEND_TEST_ALL_PREFIXES(EnterpriseInstallAttributesTest, Init);
|
| FRIEND_TEST_ALL_PREFIXES(EnterpriseInstallAttributesTest,
|
| InitForConsumerKiosk);
|
| + FRIEND_TEST_ALL_PREFIXES(EnterpriseInstallAttributesTest, LockCanonicalize);
|
| FRIEND_TEST_ALL_PREFIXES(EnterpriseInstallAttributesTest,
|
| VerifyFakeInstallAttributesCache);
|
|
|
| @@ -181,6 +180,10 @@ class EnterpriseInstallAttributes {
|
| chromeos::DBusMethodCallStatus call_status,
|
| bool result);
|
|
|
| + // Gets the user that registered the device. Returns an empty string if the
|
| + // device is not an enterprise device.
|
| + std::string GetRegistrationUser() const;
|
| +
|
| chromeos::CryptohomeClient* cryptohome_client_;
|
|
|
| base::WeakPtrFactory<EnterpriseInstallAttributes> weak_ptr_factory_;
|
|
|