Home | History | Annotate | Download | only in login

Lines Matching full:ownershipservice

16 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::OwnershipService);
20 static base::LazyInstance<OwnershipService> g_ownership_service(
24 OwnershipService* OwnershipService::GetSharedInstance() {
28 OwnershipService::OwnershipService()
39 OwnershipService::~OwnershipService() {}
41 void OwnershipService::Prewarm() {
49 NewRunnableMethod(this, &OwnershipService::FetchStatus));
52 // mocks and for that uses OwnershipService not as a regular singleton but
59 void OwnershipService::set_cached_policy(const em::PolicyData& pol) {
64 bool OwnershipService::has_cached_policy() {
68 const em::PolicyData& OwnershipService::cached_policy() {
72 bool OwnershipService::IsAlreadyOwned() {
76 OwnershipService::Status OwnershipService::GetStatus(bool blocking) {
86 // status is still unknown after constructing OwnershipService.
87 LOG(ERROR) << "Blocking on UI thread in OwnershipService::GetStatus";
99 void OwnershipService::StartLoadOwnerKeyAttempt() {
105 void OwnershipService::StartUpdateOwnerKey(const std::vector<uint8>& new_key,
112 NewRunnableFunction(&OwnershipService::UpdateOwnerKey,
120 void OwnershipService::StartSigningAttempt(const std::string& data,
127 NewRunnableFunction(&OwnershipService::TrySigningAttempt,
135 void OwnershipService::StartVerifyAttempt(const std::string& data,
143 NewRunnableFunction(&OwnershipService::TryVerifyAttempt,
152 void OwnershipService::Observe(NotificationType type,
163 bool OwnershipService::CurrentUserIsOwner() {
170 void OwnershipService::UpdateOwnerKey(OwnershipService* service,
179 void OwnershipService::TryLoadOwnerKeyAttempt(OwnershipService* service) {
189 void OwnershipService::TrySigningAttempt(OwnershipService* service,
198 NewRunnableFunction(&OwnershipService::FailAttempt, d));
205 void OwnershipService::TryVerifyAttempt(OwnershipService* service,
215 NewRunnableFunction(&OwnershipService::FailAttempt, d));
222 void OwnershipService::FailAttempt(OwnerManager::Delegate* d) {
226 void OwnershipService::FetchStatus() {
232 void OwnershipService::SetStatus(Status new_status) {