Home
last modified time | relevance | path

Searched refs:OwnershipService (Results 1 – 18 of 18) sorted by relevance

/external/chromium/chrome/browser/chromeos/login/
Downership_service.cc16 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::OwnershipService);
20 static base::LazyInstance<OwnershipService> g_ownership_service(
24 OwnershipService* OwnershipService::GetSharedInstance() { in GetSharedInstance()
28 OwnershipService::OwnershipService() in OwnershipService() function in chromeos::OwnershipService
39 OwnershipService::~OwnershipService() {} in ~OwnershipService()
41 void OwnershipService::Prewarm() { in Prewarm()
49 NewRunnableMethod(this, &OwnershipService::FetchStatus)); in Prewarm()
59 void OwnershipService::set_cached_policy(const em::PolicyData& pol) { in set_cached_policy()
64 bool OwnershipService::has_cached_policy() { in has_cached_policy()
68 const em::PolicyData& OwnershipService::cached_policy() { in cached_policy()
[all …]
Downership_service.h29 class OwnershipService : public NotificationObserver {
39 static OwnershipService* GetSharedInstance();
40 virtual ~OwnershipService();
103 OwnershipService();
111 friend struct base::DefaultLazyInstanceTraits<OwnershipService>;
120 static void UpdateOwnerKey(OwnershipService* service,
124 static void TryLoadOwnerKeyAttempt(OwnershipService* service);
125 static void TrySigningAttempt(OwnershipService* service,
129 static void TryVerifyAttempt(OwnershipService* service,
Downership_status_checker.cc26 OwnershipService::Status status = in Check()
27 OwnershipService::GetSharedInstance()->GetStatus(false); in Check()
28 if (status != OwnershipService::OWNERSHIP_UNKNOWN) { in Check()
51 OwnershipService::Status status = in CheckOnFileThread()
52 OwnershipService::GetSharedInstance()->GetStatus(true); in CheckOnFileThread()
61 OwnershipService::Status status) { in ReportResult()
Dmock_ownership_service.h16 class MockOwnershipService : public OwnershipService {
22 MOCK_METHOD1(GetStatus, OwnershipService::Status(bool));
Dsigned_settings.h40 class OwnershipService; variable
109 void set_service(OwnershipService* service) { service_ = service; } in set_service()
113 OwnershipService* service_;
Downership_status_checker.h27 typedef Callback1<OwnershipService::Status>::Type Callback;
46 void ReportResult(OwnershipService::Status status);
Downership_service_unittest.cc55 service_.reset(new OwnershipService); // must happen AFTER set_factory(). in SetUp()
80 scoped_ptr<OwnershipService> service_;
92 EXPECT_TRUE(service_->GetStatus(true) == OwnershipService::OWNERSHIP_TAKEN); in TEST_F()
108 EXPECT_TRUE(service_->GetStatus(true) == OwnershipService::OWNERSHIP_NONE); in TEST_F()
Dsigned_settings_helper_unittest.cc116 .WillRepeatedly(Return(OwnershipService::OWNERSHIP_TAKEN)); in TEST_F()
166 .WillRepeatedly(Return(OwnershipService::OWNERSHIP_TAKEN)); in TEST_F()
Dsigned_settings_unittest.cc202 .WillOnce(Return(OwnershipService::OWNERSHIP_TAKEN)); in FailingStorePropertyOp()
285 .WillOnce(Return(OwnershipService::OWNERSHIP_TAKEN)); in DoRetrieveProperty()
458 .WillOnce(Return(OwnershipService::OWNERSHIP_TAKEN)); in TEST_F()
532 .WillOnce(Return(OwnershipService::OWNERSHIP_TAKEN)); in TEST_F()
567 .WillOnce(Return(OwnershipService::OWNERSHIP_TAKEN)) in TEST_F()
568 .WillOnce(Return(OwnershipService::OWNERSHIP_TAKEN)); in TEST_F()
Dsigned_settings.cc47 : service_(OwnershipService::GetSharedInstance()), in SignedSettings()
84 OwnershipService* service = OwnershipService::GetSharedInstance(); in EnumerateWhitelist()
538 if (service_->GetStatus(true) != OwnershipService::OWNERSHIP_TAKEN) { in Execute()
662 if (service_->GetStatus(true) != OwnershipService::OWNERSHIP_TAKEN) { in Execute()
Dexisting_user_controller.h118 void OnEnrollmentOwnershipCheckCompleted(OwnershipService::Status status);
Dexisting_user_controller.cc231 OwnershipService::Status status) { in OnEnrollmentOwnershipCheckCompleted()
232 if (status == OwnershipService::OWNERSHIP_NONE) { in OnEnrollmentOwnershipCheckCompleted()
Dgoogle_authenticator.cc66 OwnershipService::GetSharedInstance()->StartLoadOwnerKeyAttempt(); in GoogleAuthenticator()
Dparallel_authenticator.cc62 OwnershipService::GetSharedInstance()->StartLoadOwnerKeyAttempt(); in ParallelAuthenticator()
Duser_manager.cc119 bool is_owner = OwnershipService::GetSharedInstance()->CurrentUserIsOwner(); in CheckOwnership()
/external/chromium/chrome/browser/chromeos/
Duser_cros_settings_provider.cc174 OwnershipService::Status ownership_status = in RequestTrustedEntity()
176 if (ownership_status == OwnershipService::OWNERSHIP_NONE) in RequestTrustedEntity()
181 if (ownership_status == OwnershipService::OWNERSHIP_TAKEN) { in RequestTrustedEntity()
247 : ownership_service_(OwnershipService::GetSharedInstance()), in UserCrosSettingsTrust()
314 OwnershipService::OWNERSHIP_TAKEN; in OnRetrievePropertyCompleted()
408 OwnershipService* ownership_service_;
/external/chromium/chrome/browser/policy/
Ddevice_policy_cache.cc62 chromeos::OwnershipService::GetSharedInstance()->StartUpdateOwnerKey( in OnStorePolicyCompleted()
/external/chromium/chrome/browser/
Dbrowser_main.cc1379 chromeos::OwnershipService::GetSharedInstance()->Prewarm(); in BrowserMain()