Home
last modified time | relevance | path

Searched refs:install_attributes_ (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/policy/
Denterprise_install_attributes_unittest.cc18 install_attributes_(cryptohome_.get()) {} in EnterpriseInstallAttributesTest()
21 EnterpriseInstallAttributes install_attributes_; member in policy::EnterpriseInstallAttributesTest
26 install_attributes_.LockDevice(kTestUser)); in TEST_F()
29 install_attributes_.LockDevice(kTestUser)); in TEST_F()
31 install_attributes_.LockDevice("test1@example.com")); in TEST_F()
35 EXPECT_FALSE(install_attributes_.IsEnterpriseDevice()); in TEST_F()
37 install_attributes_.LockDevice(kTestUser)); in TEST_F()
38 EXPECT_TRUE(install_attributes_.IsEnterpriseDevice()); in TEST_F()
42 EXPECT_EQ(std::string(), install_attributes_.GetDomain()); in TEST_F()
44 install_attributes_.LockDevice(kTestUser)); in TEST_F()
[all …]
Dbrowser_policy_connector.cc43 install_attributes_.reset(new EnterpriseInstallAttributes( in BrowserPolicyConnector()
48 install_attributes_.get()))); in BrowserPolicyConnector()
150 return install_attributes_.get() && install_attributes_->IsEnterpriseDevice(); in IsEnterpriseManaged()
159 if (install_attributes_.get()) in LockDevice()
160 return install_attributes_->LockDevice(user); in LockDevice()
168 if (install_attributes_.get()) in GetEnterpriseDomain()
169 return install_attributes_->GetDomain(); in GetEnterpriseDomain()
Ddevice_policy_cache_unittest.cc108 install_attributes_(cryptohome_.get()) {} in DevicePolicyCacheTest()
112 &install_attributes_, in SetUp()
123 install_attributes_.LockDevice(registration_user)); in MakeEnterpriseDevice()
135 EnterpriseInstallAttributes install_attributes_; member in policy::DevicePolicyCacheTest
Ddevice_policy_cache.cc116 install_attributes_(install_attributes), in DevicePolicyCache()
127 install_attributes_(install_attributes), in DevicePolicyCache()
145 std::string registration_user(install_attributes_->GetRegistrationUser()); in SetPolicy()
Dbrowser_policy_connector.h92 scoped_ptr<EnterpriseInstallAttributes> install_attributes_; variable
Ddevice_policy_cache.h70 EnterpriseInstallAttributes* install_attributes_; variable