Searched refs:loader_ (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/components/policy/core/common/ |
D | async_policy_provider.cc | 24 : loader_(std::move(loader)), weak_factory_(this) { in AsyncPolicyProvider() 26 OnLoaderReloaded(loader_->InitialLoad(registry->schema_map())); in AsyncPolicyProvider() 37 if (!loader_) in Init() 44 bool post = loader_->task_runner()->PostTask( in Init() 47 base::Unretained(loader_.get()), in Init() 63 AsyncPolicyLoader* loader_to_delete = loader_.release(); in Shutdown() 82 if (!loader_) in RefreshPolicies() 87 loader_->task_runner()->PostTaskAndReply(FROM_HERE, base::DoNothing(), in RefreshPolicies() 102 if (!loader_) in ReloadAfterRefreshSync() 105 loader_->task_runner()->PostTask( in ReloadAfterRefreshSync() [all …]
|
D | async_policy_provider_unittest.cc | 89 MockPolicyLoader* loader_; member in policy::AsyncPolicyProviderTest 102 loader_ = new MockPolicyLoader(loop_.task_runner()); in SetUp() 103 EXPECT_CALL(*loader_, LastModificationTime()) in SetUp() 105 EXPECT_CALL(*loader_, InitOnBackgroundThread()).Times(1); in SetUp() 106 EXPECT_CALL(*loader_, MockLoad()).WillOnce(Return(&initial_bundle_)); in SetUp() 109 &schema_registry_, std::unique_ptr<AsyncPolicyLoader>(loader_))); in SetUp() 115 Mock::VerifyAndClearExpectations(loader_); in SetUp() 117 EXPECT_CALL(*loader_, LastModificationTime()) in SetUp() 132 EXPECT_CALL(*loader_, MockLoad()).WillOnce(Return(&refreshed_bundle)); in TEST_F() 147 EXPECT_CALL(*loader_, MockLoad()).WillRepeatedly(Return(&refreshed_bundle)); in TEST_F() [all …]
|
D | async_policy_provider.h | 63 std::unique_ptr<AsyncPolicyLoader> loader_; variable
|
/external/pdfium/testing/ |
D | embedder_test.cpp | 96 loader_.reset(); in TearDown() 152 EXPECT_TRUE(!loader_); in OpenDocumentWithOptions() 153 loader_ = pdfium::MakeUnique<TestLoader>( in OpenDocumentWithOptions() 159 file_access_.m_Param = loader_.get(); in OpenDocumentWithOptions()
|
D | embedder_test.h | 258 std::unique_ptr<TestLoader> loader_; variable
|