store_ 218 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) { store_ 221 chrome/browser/bookmarks/bookmark_model.cc store_->BookmarkModelDeleted(); store_ 236 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) { store_ 252 chrome/browser/bookmarks/bookmark_model.cc store_ = new BookmarkStorage(profile_, this, task_runner.get()); store_ 253 chrome/browser/bookmarks/bookmark_model.cc store_->LoadBookmarks(CreateLoadDetails()); store_ 328 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) store_ 329 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 368 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) store_ 369 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 398 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) store_ 399 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 434 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) store_ 435 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 470 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) store_ 471 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 487 chrome/browser/bookmarks/bookmark_model.cc if (AsMutable(node)->SetMetaInfo(key, value) && store_.get()) store_ 488 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 506 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) store_ 507 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 522 chrome/browser/bookmarks/bookmark_model.cc if (AsMutable(node)->DeleteMetaInfo(key) && store_.get()) store_ 523 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 536 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) store_ 537 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 561 chrome/browser/bookmarks/bookmark_model.cc } else if (store_.get()) { store_ 562 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 700 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) store_ 701 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 721 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) store_ 722 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 733 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) store_ 734 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 753 chrome/browser/bookmarks/bookmark_model.cc store_ = NULL; store_ 817 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) store_ 818 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 865 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) store_ 866 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 933 chrome/browser/bookmarks/bookmark_model.cc if (store_.get()) store_ 934 chrome/browser/bookmarks/bookmark_model.cc store_->ScheduleSave(); store_ 574 chrome/browser/bookmarks/bookmark_model.h scoped_refptr<BookmarkStorage> store_; store_ 23 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc : store_(store), store_ 34 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc store_->AddObserver(this); store_ 43 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc if (store_->is_initialized()) store_ 52 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc store_->RemoveObserver(this); store_ 67 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc DCHECK_EQ(store_, store); store_ 74 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc DCHECK_EQ(store_, store); store_ 91 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc const policy::PolicyMap& policy_map = store_->policy_map(); store_ 69 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.h policy::CloudPolicyStore* store_; store_ 109 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc policy::MockCloudPolicyStore store_; store_ 139 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc loader_ = new DeviceLocalAccountExternalPolicyLoader(&store_, cache_dir_); store_ 173 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc store_.policy_map_.Set(policy::key::kExtensionInstallForcelist, store_ 178 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc store_.NotifyStoreLoaded(); store_ 198 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc store_.NotifyStoreLoaded(); store_ 69 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc DeviceCloudPolicyManagerChromeOSTest() : store_(NULL) { store_ 91 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc store_ = new DeviceCloudPolicyStoreChromeOS(&device_settings_service_, store_ 95 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc make_scoped_ptr(store_), store_ 164 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc DeviceCloudPolicyStoreChromeOS* store_; store_ 188 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 200 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc EXPECT_EQ(store_->policy()->service_account_identity(), store_ 212 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc EXPECT_FALSE(store_->is_managed()); store_ 245 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc EXPECT_TRUE(store_->is_managed()); store_ 251 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_BAD_STATE, store_->status()); store_ 368 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_BAD_STATE, store_->status()); store_ 381 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc EXPECT_FALSE(store_->is_managed()); store_ 389 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc EXPECT_TRUE(store_->has_policy()); store_ 390 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc EXPECT_TRUE(store_->is_managed()); store_ 62 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(expected_status, store_->status()); store_ 63 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->is_initialized()); store_ 64 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->has_policy()); store_ 65 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->is_managed()); store_ 69 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 70 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->is_initialized()); store_ 71 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->has_policy()); store_ 72 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->is_managed()); store_ 73 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->policy()); store_ 77 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->policy_map().GetValue( store_ 82 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->Load(); store_ 98 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_.reset(); store_ 103 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_.reset( store_ 112 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc scoped_ptr<DeviceCloudPolicyStoreChromeOS> store_; store_ 120 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->Load(); store_ 127 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->Load(); store_ 134 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->Load(); store_ 140 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->Load(); store_ 147 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->Store(device_policy_.policy()); store_ 155 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->Store(device_policy_.policy()); store_ 157 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_VALIDATION_ERROR, store_->status()); store_ 159 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->validation_status()); store_ 165 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->Store(device_policy_.policy()); store_ 167 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_VALIDATION_ERROR, store_->status()); store_ 169 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->validation_status()); store_ 176 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->Store(device_policy_.policy()); store_ 187 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->InstallInitialPolicy(device_policy_.policy()); store_ 195 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->InstallInitialPolicy(device_policy_.policy()); store_ 199 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->validation_status()); store_ 205 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->InstallInitialPolicy(device_policy_.policy()); store_ 209 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->validation_status()); store_ 215 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->InstallInitialPolicy(device_policy_.policy()); store_ 123 chrome/browser/chromeos/policy/device_local_account_policy_service.cc store_(store.Pass()), store_ 126 chrome/browser/chromeos/policy/device_local_account_policy_service.cc store_->account_id()), store_ 127 chrome/browser/chromeos/policy/device_local_account_policy_service.cc store_.get(), store_ 133 chrome/browser/chromeos/policy/device_local_account_policy_service.cc store_.get(), store_ 144 chrome/browser/chromeos/policy/device_local_account_policy_service.cc store_->Load(); store_ 169 chrome/browser/chromeos/policy/device_local_account_policy_service.cc store_->policy_map().GetValue(key::kPolicyRefreshRate); store_ 179 chrome/browser/chromeos/policy/device_local_account_policy_service.cc store_->policy_map().GetValue(policy::key::kUserDisplayName); store_ 92 chrome/browser/chromeos/policy/device_local_account_policy_service.h const scoped_ptr<DeviceLocalAccountPolicyStore> store_; store_ 52 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc : store_(store), store_ 69 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc store_->AddObserver(this); store_ 77 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc store_->RemoveObserver(this); store_ 174 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc DCHECK_EQ(store_, store); store_ 187 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc DCHECK_EQ(store_, store); store_ 188 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc ReportResult(EnrollmentStatus::ForStoreError(store_->status(), store_ 189 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc store_->validation_status())); store_ 194 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc if (store_->is_initialized()) { store_ 368 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc store_->InstallInitialPolicy(*policy_); store_ 145 chrome/browser/chromeos/policy/enrollment_handler_chromeos.h DeviceCloudPolicyStoreChromeOS* store_; store_ 84 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc store_(store.Pass()), store_ 134 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h scoped_ptr<CloudPolicyStore> store_; store_ 83 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc : store_(NULL), store_ 156 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_ = new MockCloudPolicyStore(); store_ 158 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc external_data_manager_->SetPolicyStore(store_); store_ 159 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc EXPECT_CALL(*store_, Load()); store_ 161 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc scoped_ptr<CloudPolicyStore>(store_), store_ 173 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc Mock::VerifyAndClearExpectations(store_); store_ 293 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc EXPECT_CALL(*store_, Store(_)); store_ 295 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc Mock::VerifyAndClearExpectations(store_); store_ 300 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->policy_map_.CopyFrom(policy_map_); store_ 301 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->NotifyStoreLoaded(); store_ 323 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc MockCloudPolicyStore* store_; // Not owned. store_ 351 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->NotifyStoreLoaded(); store_ 374 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->policy_.reset(new em::PolicyData(policy_data_)); store_ 376 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc base::Unretained(store_))); store_ 386 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->NotifyStoreError(); store_ 409 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->NotifyStoreLoaded(); store_ 438 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->NotifyStoreError(); store_ 464 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->NotifyStoreLoaded(); store_ 504 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->NotifyStoreLoaded(); store_ 528 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->NotifyStoreLoaded(); store_ 573 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->policy_.reset(new em::PolicyData(policy_data_)); store_ 574 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->NotifyStoreLoaded(); store_ 66 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_.reset(new UserCloudPolicyStoreChromeOS(&cryptohome_client_, store_ 73 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->AddObserver(&observer_); store_ 86 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->RemoveObserver(&observer_); store_ 87 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_.reset(); store_ 94 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc OnStoreError(AllOf(Eq(store_.get()), store_ 107 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Load(); store_ 120 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(1U, store_->policy_map().size()); store_ 122 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy_map().Get(key::kHomepageLocation); store_ 150 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); store_ 157 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(previous_value != NULL, store_->policy() != NULL); store_ 164 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(previous_policy.Equals(store_->policy_map())); store_ 165 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 179 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(previous_policy.Equals(store_->policy_map())); store_ 180 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 185 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())); store_ 188 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); store_ 190 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); store_ 192 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 196 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); store_ 197 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 198 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_VALIDATION_ERROR, store_->status()); store_ 228 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc scoped_ptr<UserCloudPolicyStoreChromeOS> store_; store_ 270 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); store_ 279 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); store_ 280 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 281 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_STORE_ERROR, store_->status()); store_ 295 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); store_ 316 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); store_ 332 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); store_ 338 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())); store_ 343 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); store_ 345 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); store_ 347 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 351 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())); store_ 356 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); store_ 357 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 358 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 366 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); store_ 367 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 368 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_PARSE_ERROR, store_->status()); store_ 410 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())); store_ 421 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); store_ 423 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); store_ 425 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 437 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())); store_ 446 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); store_ 448 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); store_ 450 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 462 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())); store_ 470 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); store_ 472 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); store_ 473 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 474 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 487 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())); store_ 496 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); store_ 498 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); store_ 500 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 519 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())); store_ 527 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); store_ 528 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->LoadImmediately(); store_ 537 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); store_ 539 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); store_ 541 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 545 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())); store_ 550 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); store_ 551 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->LoadImmediately(); store_ 555 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); store_ 556 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 557 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 561 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_CALL(observer_, OnStoreError(store_.get())); store_ 566 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); store_ 567 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->LoadImmediately(); store_ 571 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); store_ 572 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 573 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_PARSE_ERROR, store_->status()); store_ 577 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_CALL(observer_, OnStoreError(store_.get())); store_ 585 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); store_ 586 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->LoadImmediately(); store_ 591 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); store_ 592 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 593 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_LOAD_ERROR, store_->status()); store_ 597 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_CALL(observer_, OnStoreError(store_.get())); store_ 605 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); store_ 606 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->LoadImmediately(); store_ 611 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); store_ 612 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 613 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_VALIDATION_ERROR, store_->status()); store_ 70 chrome/browser/download/download_dir_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kPromptForDownload, NULL)); store_ 80 chrome/browser/download/download_dir_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kPromptForDownload, &value)); store_ 91 chrome/browser/download/download_dir_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kPromptForDownload, NULL)); store_ 103 chrome/browser/download/download_dir_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kPromptForDownload, &value)); store_ 109 chrome/browser/download/download_dir_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDownloadDefaultDirectory, &value)); store_ 81 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc store_(new ContentSettingsStore()) { store_ 86 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc store_->RegisterExtension(ext_id, timer_.GetNext(), true); store_ 90 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc return store_.get(); store_ 95 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc scoped_refptr<ContentSettingsStore> store_; store_ 99 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc store_.reset(new PolicyValueStore( store_ 108 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc store_.reset(); store_ 115 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc scoped_ptr<PolicyValueStore> store_; store_ 128 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc store_->SetCurrentPolicy(policies); store_ 129 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc ValueStore::ReadResult result = store_->Get(); store_ 142 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc EXPECT_TRUE(store_->Set(options, "key", string_value)->HasError()); store_ 146 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc EXPECT_TRUE(store_->Set(options, dict)->HasError()); store_ 148 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc EXPECT_TRUE(store_->Remove("key")->HasError()); store_ 151 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc EXPECT_TRUE(store_->Remove(keys)->HasError()); store_ 152 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc EXPECT_TRUE(store_->Clear()->HasError()); store_ 170 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc store_->SetCurrentPolicy(policies); store_ 186 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc store_->SetCurrentPolicy(policies); store_ 204 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc store_->SetCurrentPolicy(policies); store_ 219 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc store_->SetCurrentPolicy(policies); store_ 225 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc store_->SetCurrentPolicy(policies); store_ 312 chrome/browser/extensions/menu_manager.cc if (store_) store_ 313 chrome/browser/extensions/menu_manager.cc store_->RegisterKey(kContextMenusKey); store_ 799 chrome/browser/extensions/menu_manager.cc if (store_) { store_ 800 chrome/browser/extensions/menu_manager.cc store_->SetExtensionValue(extension->id(), kContextMenusKey, store_ 851 chrome/browser/extensions/menu_manager.cc if (store_ && BackgroundInfo::HasLazyBackgroundPage(extension)) { store_ 852 chrome/browser/extensions/menu_manager.cc store_->GetExtensionValue(extension->id(), kContextMenusKey, store_ 275 chrome/browser/extensions/menu_manager.h MenuManager(Profile* profile, StateStore* store_); store_ 386 chrome/browser/extensions/menu_manager.h StateStore* store_; store_ 89 chrome/browser/extensions/state_store.cc : store_(value_store.Pass()), task_queue_(new DelayedTaskQueue()) { store_ 110 chrome/browser/extensions/state_store.cc base::Bind(&ValueStoreFrontend::Get, base::Unretained(&store_), store_ 119 chrome/browser/extensions/state_store.cc base::Bind(&ValueStoreFrontend::Set, base::Unretained(&store_), store_ 126 chrome/browser/extensions/state_store.cc base::Bind(&ValueStoreFrontend::Remove, base::Unretained(&store_), store_ 163 chrome/browser/extensions/state_store.cc store_.Init(db_path_); store_ 171 chrome/browser/extensions/state_store.cc base::Bind(&ValueStoreFrontend::Remove, base::Unretained(&store_), store_ 75 chrome/browser/extensions/state_store.h ValueStoreFrontend store_; store_ 67 chrome/browser/managed_mode/managed_user_settings_service.cc store_->ReadPrefs(); store_ 69 chrome/browser/managed_mode/managed_user_settings_service.cc store_->ReadPrefsAsync(NULL); store_ 74 chrome/browser/managed_mode/managed_user_settings_service.cc DCHECK(!store_); store_ 75 chrome/browser/managed_mode/managed_user_settings_service.cc store_ = store; store_ 76 chrome/browser/managed_mode/managed_user_settings_service.cc store_->AddObserver(this); store_ 94 chrome/browser/managed_mode/managed_user_settings_service.cc return store_->IsInitializationComplete(); store_ 98 chrome/browser/managed_mode/managed_user_settings_service.cc store_->RemoveValue(kAtomicSettings); store_ 99 chrome/browser/managed_mode/managed_user_settings_service.cc store_->RemoveValue(kSplitSettings); store_ 161 chrome/browser/managed_mode/managed_user_settings_service.cc store_->RemoveObserver(this); store_ 186 chrome/browser/managed_mode/managed_user_settings_service.cc store_->ReportValueChanged(kAtomicSettings); store_ 187 chrome/browser/managed_mode/managed_user_settings_service.cc store_->ReportValueChanged(kSplitSettings); store_ 210 chrome/browser/managed_mode/managed_user_settings_service.cc store_->ReportValueChanged(kQueuedItems); store_ 285 chrome/browser/managed_mode/managed_user_settings_service.cc store_->ReportValueChanged(kAtomicSettings); store_ 286 chrome/browser/managed_mode/managed_user_settings_service.cc store_->ReportValueChanged(kSplitSettings); store_ 305 chrome/browser/managed_mode/managed_user_settings_service.cc if (store_->GetMutableValue(key, &value)) { store_ 310 chrome/browser/managed_mode/managed_user_settings_service.cc store_->SetValue(key, dict); store_ 152 chrome/browser/managed_mode/managed_user_settings_service.h scoped_refptr<PersistentPrefStore> store_; store_ 32 chrome/browser/net/proxy_policy_handler_unittest.cc store_ = NULL; store_ 34 chrome/browser/net/proxy_policy_handler_unittest.cc store_ = new ConfigurationPolicyPrefStore( store_ 46 chrome/browser/net/proxy_policy_handler_unittest.cc ASSERT_TRUE(store_->GetValue(prefs::kProxy, &value)); store_ 135 chrome/browser/net/proxy_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kProxy, &value)); store_ 217 chrome/browser/net/proxy_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kProxy, &value)); store_ 311 chrome/browser/net/proxy_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kProxy, &value)); store_ 28 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_->Load(base::Bind(&SQLiteServerBoundCertStoreTest::OnLoaded, store_ 78 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = new SQLiteServerBoundCertStore( store_ 86 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_->AddServerBoundCert( store_ 96 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc scoped_refptr<SQLiteServerBoundCertStore> store_; store_ 102 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_->AddServerBoundCert( store_ 113 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = NULL; store_ 116 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = new SQLiteServerBoundCertStore( store_ 145 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_->DeleteServerBoundCert(*certs[0]); store_ 146 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_->DeleteServerBoundCert(*certs[1]); store_ 147 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = NULL; store_ 151 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = new SQLiteServerBoundCertStore( store_ 163 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = NULL; store_ 205 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = new SQLiteServerBoundCertStore( store_ 213 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = NULL; store_ 231 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = NULL; store_ 277 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = new SQLiteServerBoundCertStore( store_ 296 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = NULL; store_ 315 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = NULL; store_ 363 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = new SQLiteServerBoundCertStore( store_ 384 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = NULL; store_ 403 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = NULL; store_ 456 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = new SQLiteServerBoundCertStore( store_ 470 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_ = NULL; store_ 1062 chrome/browser/password_manager/password_store_mac_unittest.cc store_ = new TestPasswordStoreMac( store_ 1067 chrome/browser/password_manager/password_store_mac_unittest.cc ASSERT_TRUE(store_->Init(syncer::SyncableService::StartSyncFlare())); store_ 1071 chrome/browser/password_manager/password_store_mac_unittest.cc store_->Shutdown(); store_ 1072 chrome/browser/password_manager/password_store_mac_unittest.cc EXPECT_FALSE(store_->GetBackgroundTaskRunner()); store_ 1080 chrome/browser/password_manager/password_store_mac_unittest.cc store_->GetLogins(PasswordForm(), PasswordStore::ALLOW_PROMPT, &consumer); store_ 1090 chrome/browser/password_manager/password_store_mac_unittest.cc scoped_refptr<TestPasswordStoreMac> store_; store_ 1156 chrome/browser/password_manager/password_store_mac_unittest.cc store_->UpdateLogin(*form); store_ 1223 chrome/browser/password_manager/password_store_mac_unittest.cc store_->GetLogins(m_form, PasswordStore::ALLOW_PROMPT, &consumer); store_ 1232 chrome/browser/password_manager/password_store_mac_unittest.cc store_->RemoveLogin(*www_form); store_ 1233 chrome/browser/password_manager/password_store_mac_unittest.cc store_->RemoveLogin(m_form); store_ 129 chrome/browser/password_manager/password_store_win_unittest.cc if (store_) store_ 130 chrome/browser/password_manager/password_store_win_unittest.cc store_->Shutdown(); store_ 163 chrome/browser/password_manager/password_store_win_unittest.cc scoped_refptr<PasswordStore> store_; store_ 200 chrome/browser/password_manager/password_store_win_unittest.cc store_ = CreatePasswordStore(); store_ 201 chrome/browser/password_manager/password_store_win_unittest.cc EXPECT_TRUE(store_->Init(syncer::SyncableService::StartSyncFlare())); store_ 245 chrome/browser/password_manager/password_store_win_unittest.cc store_->GetLogins(*form, PasswordStore::DISALLOW_PROMPT, &consumer); store_ 253 chrome/browser/password_manager/password_store_win_unittest.cc store_ = CreatePasswordStore(); store_ 254 chrome/browser/password_manager/password_store_win_unittest.cc EXPECT_TRUE(store_->Init(syncer::SyncableService::StartSyncFlare())); store_ 271 chrome/browser/password_manager/password_store_win_unittest.cc store_->GetLogins(*form, PasswordStore::DISALLOW_PROMPT, &consumer); store_ 274 chrome/browser/password_manager/password_store_win_unittest.cc store_->Shutdown(); store_ 275 chrome/browser/password_manager/password_store_win_unittest.cc store_ = NULL; store_ 296 chrome/browser/password_manager/password_store_win_unittest.cc store_ = CreatePasswordStore(); store_ 297 chrome/browser/password_manager/password_store_win_unittest.cc EXPECT_TRUE(store_->Init(syncer::SyncableService::StartSyncFlare())); store_ 338 chrome/browser/password_manager/password_store_win_unittest.cc store_->GetLogins(*form, PasswordStore::DISALLOW_PROMPT, &password_consumer); store_ 358 chrome/browser/password_manager/password_store_win_unittest.cc store_ = CreatePasswordStore(); store_ 359 chrome/browser/password_manager/password_store_win_unittest.cc store_->Init(syncer::SyncableService::StartSyncFlare()); store_ 387 chrome/browser/password_manager/password_store_win_unittest.cc store_->GetLogins(*form, PasswordStore::DISALLOW_PROMPT, &consumer); store_ 392 chrome/browser/password_manager/password_store_win_unittest.cc store_ = CreatePasswordStore(); store_ 393 chrome/browser/password_manager/password_store_win_unittest.cc store_->Init(syncer::SyncableService::StartSyncFlare()); store_ 408 chrome/browser/password_manager/password_store_win_unittest.cc store_->GetBlacklistLogins(&consumer); store_ 413 chrome/browser/password_manager/password_store_win_unittest.cc store_ = CreatePasswordStore(); store_ 414 chrome/browser/password_manager/password_store_win_unittest.cc store_->Init(syncer::SyncableService::StartSyncFlare()); store_ 429 chrome/browser/password_manager/password_store_win_unittest.cc store_->GetAutofillableLogins(&consumer); store_ 173 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc MockCloudPolicyStore store_; store_ 207 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc &store_, store_ 290 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc store_.invalidation_version_ = invalidation_version; store_ 291 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc store_.policy_.reset(data); store_ 296 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc store_.policy_map_.LoadFrom( store_ 300 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc store_.NotifyStoreLoaded(); store_ 25 chrome/browser/policy/javascript_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kManagedDefaultJavaScriptSetting, NULL)); store_ 33 chrome/browser/policy/javascript_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kManagedDefaultJavaScriptSetting, NULL)); store_ 41 chrome/browser/policy/javascript_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kManagedDefaultJavaScriptSetting, store_ 47 chrome/browser/policy/javascript_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kManagedDefaultJavaScriptSetting, NULL)); store_ 56 chrome/browser/policy/javascript_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kManagedDefaultJavaScriptSetting, store_ 66 chrome/browser/policy/javascript_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kManagedDefaultJavaScriptSetting, store_ 53 chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kIncognitoModeAvailability, &value)); store_ 83 chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kIncognitoModeAvailability, &value)); store_ 46 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_.reset(new SafeBrowsingStoreFile()); store_ 47 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->Init(filename_, store_ 53 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc if (store_.get()) store_ 54 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->Delete(); store_ 55 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_.reset(); store_ 66 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 68 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->BeginChunk()); store_ 69 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetAddChunk(kAddChunk1); store_ 70 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckAddChunk(kAddChunk1)); store_ 71 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(kAddChunk1, kHash1.prefix)); store_ 72 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(kAddChunk1, kHash2.prefix)); store_ 73 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddHash(kAddChunk1, now, kHash2)); store_ 75 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetSubChunk(kSubChunk1); store_ 76 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckSubChunk(kSubChunk1)); store_ 77 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubPrefix(kSubChunk1, kAddChunk3, kHash3.prefix)); store_ 78 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubHash(kSubChunk1, kAddChunk3, kHash3)); store_ 79 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishChunk()); store_ 82 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckAddChunk(kSubChunk1)); store_ 83 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckAddChunk(kAddChunk3)); store_ 84 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckSubChunk(kAddChunk1)); store_ 90 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 107 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc scoped_ptr<SafeBrowsingStoreFile> store_; store_ 113 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 116 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->GetAddChunks(&chunks); store_ 118 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->GetSubChunks(&chunks); store_ 122 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckAddChunk(0)); store_ 123 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckAddChunk(1)); store_ 124 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckAddChunk(-1)); store_ 126 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckSubChunk(0)); store_ 127 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckSubChunk(1)); store_ 128 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckSubChunk(-1)); store_ 134 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 150 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 153 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->GetAddChunks(&chunks); store_ 157 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->GetSubChunks(&chunks); store_ 165 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 182 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 185 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->GetAddChunks(&chunks); store_ 189 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->GetSubChunks(&chunks); store_ 193 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckAddChunk(kAddChunk1)); store_ 194 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckSubChunk(kSubChunk1)); store_ 200 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 223 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 225 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->BeginChunk()); store_ 226 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetAddChunk(kAddChunk2); store_ 227 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(kAddChunk2, kMinSBPrefix)); store_ 228 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(kAddChunk2, kMaxSBPrefix)); store_ 229 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishChunk()); store_ 235 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 248 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 250 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->BeginChunk()); store_ 251 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetAddChunk(kSubChunk2); store_ 252 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubPrefix(kSubChunk2, kAddChunk2, kMinSBPrefix)); store_ 253 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubPrefix(kSubChunk2, kAddChunk2, kMaxSBPrefix)); store_ 254 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishChunk()); store_ 260 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 274 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 278 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->BeginChunk()); store_ 279 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetAddChunk(kAddChunk1); store_ 280 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(kAddChunk1, kHash1.prefix)); store_ 281 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(kAddChunk1, kHash2.prefix)); store_ 282 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddHash(kAddChunk1, now, kHash2)); store_ 284 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetSubChunk(kSubChunk1); store_ 285 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubPrefix(kSubChunk1, kAddChunk3, kHash3.prefix)); store_ 286 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubPrefix(kSubChunk1, kAddChunk1, kHash2.prefix)); store_ 287 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishChunk()); store_ 293 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 305 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 308 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->BeginChunk()); store_ 309 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetAddChunk(kAddChunk3); store_ 310 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(kAddChunk3, kHash3.prefix)); store_ 311 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishChunk()); store_ 317 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 328 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 331 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->BeginChunk()); store_ 332 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetAddChunk(kAddChunk3); store_ 333 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(kAddChunk3, kHash3.prefix)); store_ 334 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishChunk()); store_ 340 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 355 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 360 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckAddChunk(kAddChunk1)); store_ 361 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetAddChunk(kAddChunk1); store_ 362 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->BeginChunk()); store_ 363 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(kAddChunk1, kHash1.prefix)); store_ 364 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(kAddChunk1, kHash2.prefix)); store_ 365 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddHash(kAddChunk1, now, kHash2)); store_ 366 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishChunk()); store_ 369 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckAddChunk(kAddChunk2)); store_ 370 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetAddChunk(kAddChunk2); store_ 371 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->BeginChunk()); store_ 372 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(kAddChunk2, kHash3.prefix)); store_ 373 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddHash(kAddChunk2, now, kHash3)); store_ 374 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishChunk()); store_ 377 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckSubChunk(kSubChunk1)); store_ 378 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetSubChunk(kSubChunk1); store_ 379 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->BeginChunk()); store_ 380 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubPrefix(kSubChunk1, kAddChunk3, kHash4.prefix)); store_ 381 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubHash(kSubChunk1, kAddChunk3, kHash4)); store_ 382 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishChunk()); store_ 385 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckSubChunk(kSubChunk2)); store_ 386 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetSubChunk(kSubChunk2); store_ 387 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->BeginChunk()); store_ 388 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubPrefix(kSubChunk2, kAddChunk4, kHash5.prefix)); store_ 389 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubHash(kSubChunk2, kAddChunk4, kHash5)); store_ 390 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishChunk()); store_ 392 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->DeleteAddChunk(kAddChunk1); store_ 393 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->DeleteSubChunk(kSubChunk1); store_ 396 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckAddChunk(kAddChunk1)); store_ 397 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckAddChunk(kAddChunk2)); store_ 398 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckSubChunk(kSubChunk1)); store_ 399 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckSubChunk(kSubChunk2)); store_ 405 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 421 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 422 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckAddChunk(kAddChunk1)); store_ 423 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckAddChunk(kAddChunk2)); store_ 424 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckSubChunk(kSubChunk1)); store_ 425 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckSubChunk(kSubChunk2)); store_ 428 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->DeleteAddChunk(kAddChunk2); store_ 429 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->DeleteSubChunk(kSubChunk2); store_ 435 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 441 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 442 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckAddChunk(kAddChunk1)); store_ 443 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckAddChunk(kAddChunk2)); store_ 444 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckSubChunk(kSubChunk1)); store_ 445 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckSubChunk(kSubChunk2)); store_ 451 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 466 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->Delete()); store_ 472 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->Delete()); store_ 485 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 490 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_.reset(new SafeBrowsingStoreFile()); store_ 491 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->Init(filename_, base::Closure()); store_ 496 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->Delete()); store_ 512 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 513 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, &builder, &orig_hashes)); store_ 538 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 539 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->FinishUpdate(pending_adds, &builder, &add_hashes)); store_ 553 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->BeginUpdate()); store_ 560 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 562 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckValidity()); store_ 564 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CancelUpdate()); store_ 570 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 572 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckValidity()); store_ 574 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CancelUpdate()); store_ 591 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_FALSE(store_->BeginUpdate()); store_ 610 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 612 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckValidity()); store_ 614 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CancelUpdate()); store_ 630 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 632 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckValidity()); store_ 634 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CancelUpdate()); store_ 638 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 642 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->BeginChunk()); store_ 643 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetAddChunk(kAddChunk1); store_ 644 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckAddChunk(kAddChunk1)); store_ 645 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(kAddChunk1, kHash1.prefix)); store_ 646 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(kAddChunk1, kHash2.prefix)); store_ 647 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddHash(kAddChunk1, now, kHash2)); store_ 649 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetSubChunk(kSubChunk1); store_ 650 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckSubChunk(kSubChunk1)); store_ 651 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubPrefix(kSubChunk1, kAddChunk3, kHash3.prefix)); store_ 652 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubHash(kSubChunk1, kAddChunk3, kHash3)); store_ 653 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishChunk()); store_ 656 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckAddChunk(kSubChunk1)); store_ 657 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckAddChunk(kAddChunk3)); store_ 658 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckSubChunk(kAddChunk1)); store_ 661 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->GetAddChunks(&chunks); store_ 665 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->GetSubChunks(&chunks); store_ 671 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(std::vector<SBAddFullHash>(), store_ 676 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->GetAddPrefixes(&add_prefixes)); store_ 684 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->GetAddFullHashes(&add_hashes)); store_ 708 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 710 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->BeginChunk()); store_ 711 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetAddChunk(chunk_id); store_ 712 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckAddChunk(chunk_id)); store_ 714 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteAddPrefix(chunk_id, static_cast<SBPrefix>(i))); store_ 716 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishChunk()); store_ 721 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 726 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->GetAddPrefixes(&add_prefixes)); store_ 743 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(store_->BeginUpdate()); store_ 744 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckAddChunk(chunk_id)); store_ 745 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(store_->CheckAddChunk(chunk_id + 1)); store_ 746 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->DeleteAddChunk(chunk_id); store_ 751 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 769 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_.reset(); store_ 782 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_.reset(new SafeBrowsingStoreFile()); store_ 783 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->Init(filename_, store_ 789 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->GetAddPrefixes(&add_prefixes)); store_ 797 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->GetAddFullHashes(&add_hashes)); store_ 803 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->BeginUpdate()); store_ 807 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->GetAddChunks(&chunks); store_ 811 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->GetSubChunks(&chunks); store_ 815 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckAddChunk(kAddChunk1)); store_ 816 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckSubChunk(kSubChunk1)); store_ 819 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->SetSubChunk(kSubChunk2); store_ 820 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->CheckSubChunk(kSubChunk1)); store_ 821 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubPrefix(kSubChunk1, kAddChunk1, kHash2.prefix)); store_ 822 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->WriteSubHash(kSubChunk1, kAddChunk1, kHash2)); store_ 823 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishChunk()); store_ 829 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(store_->FinishUpdate(pending_adds, store_ 118 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderSearchURL, &value)); store_ 121 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderName, &value)); store_ 124 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderKeyword, &value)); store_ 127 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderSuggestURL, store_ 131 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderIconURL, &value)); store_ 134 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderEncodings, &value)); store_ 137 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderInstantURL, store_ 141 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderAlternateURLs, store_ 146 chrome/browser/search_engines/default_search_policy_handler_unittest.cc store_->GetValue(prefs::kDefaultSearchProviderSearchTermsReplacementKey, store_ 150 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderImageURL, &value)); store_ 153 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue( store_ 157 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue( store_ 161 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue( store_ 165 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue( store_ 169 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue( store_ 182 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderSearchURL, &value)); store_ 185 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderName, &value)); store_ 188 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderKeyword, &value)); store_ 191 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderSuggestURL, store_ 195 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderIconURL, &value)); store_ 198 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderEncodings, &value)); store_ 201 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue( store_ 206 chrome/browser/search_engines/default_search_policy_handler_unittest.cc store_->GetValue(prefs::kDefaultSearchProviderSearchTermsReplacementKey, store_ 210 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderImageURL, &value)); store_ 213 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderImageURLPostParams, store_ 217 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue( store_ 221 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue( store_ 225 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue( store_ 238 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderSearchURL, NULL)); store_ 239 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderName, NULL)); store_ 240 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderKeyword, NULL)); store_ 241 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderSuggestURL, NULL)); store_ 242 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderIconURL, NULL)); store_ 243 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderEncodings, NULL)); store_ 244 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderAlternateURLs, store_ 246 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue( store_ 248 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderImageURL, NULL)); store_ 249 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue( store_ 251 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderInstantURL, NULL)); store_ 252 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderNewTabURL, NULL)); store_ 266 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderSearchURL, NULL)); store_ 267 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderName, NULL)); store_ 268 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderKeyword, NULL)); store_ 269 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderSuggestURL, NULL)); store_ 270 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderIconURL, NULL)); store_ 271 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderEncodings, NULL)); store_ 272 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderAlternateURLs, store_ 274 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue( store_ 276 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderImageURL, NULL)); store_ 277 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue( store_ 279 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderInstantURL, NULL)); store_ 280 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_FALSE(store_->GetValue(prefs::kDefaultSearchProviderNewTabURL, NULL)); store_ 292 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderEnabled, &value)); store_ 295 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderSearchURL, &value)); store_ 36 chrome/browser/ui/app_list/search/history.cc store_ = new HistoryDataStore(data_file); store_ 38 chrome/browser/ui/app_list/search/history.cc new HistoryData(store_.get(), kMaxQueryEntries, kMaxSecondaryQueries)); store_ 60 chrome/browser/ui/app_list/search/history.h scoped_refptr<HistoryDataStore> store_; store_ 44 chrome/browser/ui/app_list/search/history_data.cc : store_(store), store_ 47 chrome/browser/ui/app_list/search/history_data.cc store_->Load(base::Bind(&HistoryData::OnStoreLoaded, AsWeakPtr())); store_ 61 chrome/browser/ui/app_list/search/history_data.cc store_->SetPrimary(query, result_id); store_ 62 chrome/browser/ui/app_list/search/history_data.cc store_->SetUpdateTime(query, data.update_time); store_ 70 chrome/browser/ui/app_list/search/history_data.cc store_->SetUpdateTime(query, data.update_time); store_ 84 chrome/browser/ui/app_list/search/history_data.cc store_->SetPrimary(query, result_id); store_ 85 chrome/browser/ui/app_list/search/history_data.cc store_->SetSecondary(query, secondary); store_ 98 chrome/browser/ui/app_list/search/history_data.cc store_->SetSecondary(query, secondary); store_ 174 chrome/browser/ui/app_list/search/history_data.cc store_->Delete(query); store_ 81 chrome/browser/ui/app_list/search/history_data.h HistoryDataStore* store_; // Not owned. store_ 52 chrome/browser/ui/app_list/search/history_data_store_unittest.cc store_ = NULL; store_ 57 chrome/browser/ui/app_list/search/history_data_store_unittest.cc store_ = new HistoryDataStore(data_file_); store_ 62 chrome/browser/ui/app_list/search/history_data_store_unittest.cc store_->Flush(DictionaryDataStore::OnFlushedCallback()); store_ 66 chrome/browser/ui/app_list/search/history_data_store_unittest.cc store_->Load(base::Bind(&HistoryDataStoreTest::OnRead, store_ 79 chrome/browser/ui/app_list/search/history_data_store_unittest.cc HistoryDataStore* store() { return store_.get(); } store_ 100 chrome/browser/ui/app_list/search/history_data_store_unittest.cc scoped_refptr<HistoryDataStore> store_; store_ 75 chrome/browser/ui/app_list/search/history_unittest.cc explicit StoreFlushWaiter(HistoryDataStore* store) : store_(store) {} store_ 79 chrome/browser/ui/app_list/search/history_unittest.cc store_->Flush( store_ 100 chrome/browser/ui/app_list/search/history_unittest.cc HistoryDataStore* store_; // Not owned. store_ 130 chrome/browser/ui/app_list/search/history_unittest.cc new HistoryData(history_->store_.get(), kMaxPrimary, kMaxSecondary)); store_ 139 chrome/browser/ui/app_list/search/history_unittest.cc StoreFlushWaiter waiter(history_->store_.get()); store_ 41 components/dom_distiller/core/dom_distiller_service.cc : store_(store.Pass()), distiller_factory_(distiller_factory.Pass()) {} store_ 46 components/dom_distiller/core/dom_distiller_service.cc return store_->GetSyncableService(); store_ 53 components/dom_distiller/core/dom_distiller_service.cc const bool is_already_added = store_->GetEntryByUrl(url, &entry); store_ 88 components/dom_distiller/core/dom_distiller_service.cc return store_->GetEntries(); store_ 100 components/dom_distiller/core/dom_distiller_service.cc if (!store_->GetEntryById(entry_id, entry.get())) { store_ 104 components/dom_distiller/core/dom_distiller_service.cc if (store_->RemoveEntry(*entry)) { store_ 114 components/dom_distiller/core/dom_distiller_service.cc if (!store_->GetEntryById(entry_id, &entry)) { store_ 142 components/dom_distiller/core/dom_distiller_service.cc if (store_->GetEntryByUrl(url, &entry)) { store_ 201 components/dom_distiller/core/dom_distiller_service.cc store_->AddEntry(entry); store_ 208 components/dom_distiller/core/dom_distiller_service.cc store_->AddObserver(observer); store_ 213 components/dom_distiller/core/dom_distiller_service.cc store_->RemoveObserver(observer); store_ 117 components/dom_distiller/core/dom_distiller_service.h scoped_ptr<DomDistillerStoreInterface> store_; store_ 83 components/dom_distiller/core/dom_distiller_service_unittest.cc store_ = test::util::CreateStoreWithFakeDB(fake_db, store_model); store_ 86 components/dom_distiller/core/dom_distiller_service_unittest.cc scoped_ptr<DomDistillerStoreInterface>(store_), store_ 94 components/dom_distiller/core/dom_distiller_service_unittest.cc store_ = NULL; store_ 101 components/dom_distiller/core/dom_distiller_service_unittest.cc DomDistillerStoreInterface* store_; store_ 119 components/dom_distiller/core/dom_distiller_service_unittest.cc store_->AddEntry(entry); store_ 224 components/dom_distiller/core/dom_distiller_service_unittest.cc EXPECT_EQ(0u, store_->GetEntries().size()); store_ 246 components/dom_distiller/core/dom_distiller_service_unittest.cc EXPECT_TRUE(store_->GetEntryByUrl(url, &entry)); store_ 248 components/dom_distiller/core/dom_distiller_service_unittest.cc EXPECT_EQ(1u, store_->GetEntries().size()); store_ 251 components/dom_distiller/core/dom_distiller_service_unittest.cc EXPECT_EQ(0u, store_->GetEntries().size()); store_ 406 components/dom_distiller/core/dom_distiller_service_unittest.cc EXPECT_TRUE(store_->GetEntryByUrl(pages_url[0], &entry)); store_ 410 components/dom_distiller/core/dom_distiller_service_unittest.cc EXPECT_EQ(1u, store_->GetEntries().size()); store_ 419 components/dom_distiller/core/dom_distiller_service_unittest.cc EXPECT_TRUE(store_->GetEntryByUrl(pages_url[page_num], &entry)); store_ 424 components/dom_distiller/core/dom_distiller_service_unittest.cc EXPECT_EQ(0u, store_->GetEntries().size()); store_ 134 components/dom_distiller/core/dom_distiller_store_unittest.cc store_.reset(); store_ 143 components/dom_distiller/core/dom_distiller_store_unittest.cc store_.reset(test::util::CreateStoreWithFakeDB(fake_db_, store_model_)); store_ 149 components/dom_distiller/core/dom_distiller_store_unittest.cc store_->MergeDataAndStartSyncing( store_ 175 components/dom_distiller/core/dom_distiller_store_unittest.cc scoped_ptr<DomDistillerStore> store_; store_ 225 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(AreEntriesEqual(store_->GetEntries(), db_model_)); store_ 245 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(AreEntriesEqual(store_->GetEntries(), expected_model)); store_ 254 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(store_->GetEntries().empty()); store_ 257 components/dom_distiller/core/dom_distiller_store_unittest.cc store_->AddEntry(GetSampleEntry(0)); store_ 262 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(AreEntriesEqual(store_->GetEntries(), expected_model)); store_ 265 components/dom_distiller/core/dom_distiller_store_unittest.cc store_->RemoveEntry(GetSampleEntry(0)); store_ 268 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(AreEntriesEqual(store_->GetEntries(), expected_model)); store_ 277 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(store_->GetEntries().empty()); store_ 280 components/dom_distiller/core/dom_distiller_store_unittest.cc store_->AddEntry(GetSampleEntry(0)); store_ 285 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(AreEntriesEqual(store_->GetEntries(), expected_model)); store_ 288 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_FALSE(store_->UpdateEntry(GetSampleEntry(0))); store_ 292 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(store_->UpdateEntry(updated_entry)); store_ 296 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(AreEntriesEqual(store_->GetEntries(), expected_model)); store_ 299 components/dom_distiller/core/dom_distiller_store_unittest.cc store_->RemoveEntry(updated_entry); store_ 300 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_FALSE(store_->UpdateEntry(updated_entry)); store_ 301 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_FALSE(store_->UpdateEntry(GetSampleEntry(0))); store_ 315 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(AreEntriesEqual(store_->GetEntries(), sync_model_)); store_ 336 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(AreEntriesEqual(store_->GetEntries(), db_model_)); store_ 340 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(AreEntriesEqual(store_->GetEntries(), expected_model)); store_ 365 components/dom_distiller/core/dom_distiller_store_unittest.cc SyncDataList data = store_->GetAllSyncData(kDomDistillerModelType); store_ 395 components/dom_distiller/core/dom_distiller_store_unittest.cc store_->ProcessSyncChanges(FROM_HERE, changes); store_ 397 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(AreEntriesEqual(store_->GetEntries(), expected_model)); store_ 429 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_FALSE(AreEntriesEqual(store_->GetEntries(), expected_model)); store_ 434 components/dom_distiller/core/dom_distiller_store_unittest.cc store_->MergeDataAndStartSyncing( store_ 440 components/dom_distiller/core/dom_distiller_store_unittest.cc EXPECT_TRUE(AreEntriesEqual(store_->GetEntries(), expected_model)); store_ 447 components/dom_distiller/core/dom_distiller_store_unittest.cc store_->AddObserver(&observer); store_ 458 components/dom_distiller/core/dom_distiller_store_unittest.cc store_->AddEntry(GetSampleEntry(0)); store_ 467 components/dom_distiller/core/dom_distiller_store_unittest.cc store_->AddEntry(GetSampleEntry(1)); store_ 477 components/dom_distiller/core/dom_distiller_store_unittest.cc store_->RemoveEntry(GetSampleEntry(0)); store_ 500 components/dom_distiller/core/dom_distiller_store_unittest.cc store_->MergeDataAndStartSyncing( store_ 97 components/password_manager/core/browser/password_manager_unittest.cc store_ = new MockPasswordStore; store_ 98 components/password_manager/core/browser/password_manager_unittest.cc CHECK(store_->Init(syncer::SyncableService::StartSyncFlare())); store_ 100 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(client_, GetPasswordStore()).WillRepeatedly(Return(store_)); store_ 115 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_, ReportMetricsImpl()).Times(AnyNumber()); store_ 119 components/password_manager/core/browser/password_manager_unittest.cc store_->Shutdown(); store_ 120 components/password_manager/core/browser/password_manager_unittest.cc store_ = NULL; store_ 207 components/password_manager/core/browser/password_manager_unittest.cc scoped_refptr<MockPasswordStore> store_; store_ 227 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), GetLogins(_, _, _)) store_ 248 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), AddLogin(FormMatches(form))); store_ 259 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), GetLogins(_, _, _)) store_ 275 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), AddLogin(FormMatches(form))); store_ 292 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), GetLogins(_, _, _)) store_ 313 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), AddLogin(FormMatches(form))); store_ 322 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), GetLogins(_, _, _)) store_ 343 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), GetLogins(_, _, _)) store_ 367 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), AddLogin(FormMatches(form))); store_ 377 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), GetLogins(_, _, _)) store_ 417 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), AddLogin(FormMatches(second_form))); store_ 426 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), GetLogins(_, _, _)) store_ 447 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), GetLogins(_, _, _)) store_ 468 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), AddLogin(FormMatches(form))); store_ 480 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), GetLogins(_, _, _)) store_ 513 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), store_ 527 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), GetLogins(_, _, _)) store_ 543 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), AddLogin(FormMatches(form))).Times(Exactly(0)); store_ 558 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), GetLogins(_, _, _)) store_ 575 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), AddLogin(FormMatches(form))); store_ 597 components/password_manager/core/browser/password_manager_unittest.cc EXPECT_CALL(*store_.get(), GetLogins(_, _, _)) store_ 34 components/policy/core/browser/configuration_policy_pref_store_test.cc store_ = new ConfigurationPolicyPrefStore( store_ 40 components/policy/core/browser/configuration_policy_pref_store_test.h scoped_refptr<ConfigurationPolicyPrefStore> store_; store_ 50 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_FALSE(store_->GetValue(kTestPref, NULL)); store_ 62 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_TRUE(store_->GetValue(kTestPref, &value)); store_ 78 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_FALSE(store_->GetValue(kTestPref, NULL)); store_ 88 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_TRUE(store_->GetValue(kTestPref, &value)); store_ 104 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_FALSE(store_->GetValue(kTestPref, NULL)); store_ 113 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_TRUE(store_->GetValue(kTestPref, &value)); store_ 124 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_TRUE(store_->GetValue(kTestPref, &value)); store_ 142 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_FALSE(store_->GetValue(kTestPref, NULL)); store_ 151 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_TRUE(store_->GetValue(kTestPref, &value)); store_ 161 components/policy/core/browser/configuration_policy_pref_store_unittest.cc store_->AddObserver(&observer_); store_ 168 components/policy/core/browser/configuration_policy_pref_store_unittest.cc store_->RemoveObserver(&observer_); store_ 177 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_FALSE(store_->GetValue(kTestPolicy, NULL)); store_ 187 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_TRUE(store_->GetValue(kTestPref, &value)); store_ 196 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_FALSE(store_->GetValue(kTestPref, NULL)); store_ 200 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_FALSE(store_->IsInitializationComplete()); store_ 208 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_TRUE(store_->IsInitializationComplete()); store_ 24 components/policy/core/common/cloud/cloud_policy_core.cc store_(store), store_ 33 components/policy/core/common/cloud/cloud_policy_core.cc service_.reset(new CloudPolicyService(policy_ns_key_, client_.get(), store_)); store_ 54 components/policy/core/common/cloud/cloud_policy_core.cc new CloudPolicyRefreshScheduler(client_.get(), store_, task_runner_)); store_ 63 components/policy/core/common/cloud/cloud_policy_core.h CloudPolicyStore* store() { return store_; } store_ 64 components/policy/core/common/cloud/cloud_policy_core.h const CloudPolicyStore* store() const { return store_; } store_ 105 components/policy/core/common/cloud/cloud_policy_core.h CloudPolicyStore* store_; store_ 26 components/policy/core/common/cloud/cloud_policy_core_unittest.cc &store_, store_ 69 components/policy/core/common/cloud/cloud_policy_core_unittest.cc MockCloudPolicyStore store_; store_ 61 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc MockCloudPolicyStore store_; store_ 77 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.NotifyStoreLoaded(); store_ 80 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc &store_, store_ 84 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc Mock::VerifyAndClearExpectations(&store_); store_ 92 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_map_.Set(policy_name, policy_level(), policy_scope(), store_ 98 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_map_.Set(policy_name, policy_level(), policy_scope(), store_ 104 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_map_.Set(policy_name, policy_level(), policy_scope(), store_ 110 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_map_.Set(policy_name, policy_level(), policy_scope(), store_ 117 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_map_.Set(policy_name, policy_level(), policy_scope(), store_ 181 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc EXPECT_CALL(store_, Load()); store_ 182 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc manager_.reset(new TestCloudPolicyManager(&store_, store_ 185 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc Mock::VerifyAndClearExpectations(&store_); store_ 206 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc MockCloudPolicyStore store_; store_ 222 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_map_.CopyFrom(policy_map_); store_ 223 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_.reset(new em::PolicyData(policy_.policy_data())); store_ 225 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.NotifyStoreLoaded(); store_ 248 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.NotifyStoreLoaded(); store_ 259 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc EXPECT_CALL(store_, Store(ProtoMatches(policy_.policy()))); store_ 261 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc Mock::VerifyAndClearExpectations(&store_); store_ 263 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_map_.CopyFrom(policy_map_); store_ 265 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.NotifyStoreLoaded(); store_ 272 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.NotifyStoreLoaded(); store_ 278 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_map_.CopyFrom(policy_map_); store_ 280 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.NotifyStoreLoaded(); store_ 291 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.NotifyStoreLoaded(); store_ 305 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_.reset(new em::PolicyData(policy_.policy_data())); store_ 308 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.NotifyStoreLoaded(); store_ 321 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_map_.CopyFrom(policy_map_); store_ 325 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.NotifyStoreLoaded(); store_ 330 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc EXPECT_CALL(store_, Store(_)); store_ 334 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc Mock::VerifyAndClearExpectations(&store_); store_ 338 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.NotifyStoreLoaded(); store_ 345 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_.reset(new em::PolicyData(policy_.policy_data())); store_ 347 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.NotifyStoreError(); store_ 72 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc store_(store), store_ 85 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc store_->AddObserver(this); store_ 93 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc store_->RemoveObserver(this); store_ 216 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc if (store_->has_policy() && store_->policy()->has_timestamp()) { store_ 219 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::TimeDelta::FromMilliseconds(store_->policy()->timestamp()); store_ 225 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc if (store_->has_policy() && store_->policy()->has_timestamp() && store_ 226 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc !store_->is_managed()) { store_ 229 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::TimeDelta::FromMilliseconds(store_->policy()->timestamp()); store_ 256 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc if (store_->is_managed()) store_ 107 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h CloudPolicyStore* store_; store_ 44 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.policy_.reset(new em::PolicyData()); store_ 48 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.policy_->set_timestamp( store_ 52 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::TimeDelta::FromMilliseconds(store_.policy_->timestamp()); store_ 58 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc new CloudPolicyRefreshScheduler(&client_, &store_, task_runner_); store_ 140 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc MockCloudPolicyStore store_; store_ 149 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.policy_.reset(); store_ 158 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.policy_->set_state(em::PolicyData::UNMANAGED); store_ 191 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.NotifyStoreLoaded(); store_ 192 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.NotifyStoreError(); store_ 214 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc new CloudPolicyRefreshScheduler(&client_, &store_, task_runner_)); store_ 241 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc new CloudPolicyRefreshScheduler(&client_, &store_, task_runner_)); store_ 270 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc new CloudPolicyRefreshScheduler(&client_, &store_, task_runner_)); store_ 297 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc new CloudPolicyRefreshScheduler(&client_, &store_, task_runner_)); store_ 354 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.NotifyStoreLoaded(); store_ 360 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.NotifyStoreError(); store_ 19 components/policy/core/common/cloud/cloud_policy_service.cc store_(store), store_ 24 components/policy/core/common/cloud/cloud_policy_service.cc store_->AddObserver(this); store_ 28 components/policy/core/common/cloud/cloud_policy_service.cc OnStoreLoaded(store_); store_ 34 components/policy/core/common/cloud/cloud_policy_service.cc store_->RemoveObserver(this); store_ 38 components/policy/core/common/cloud/cloud_policy_service.cc const em::PolicyData* policy = store_->policy(); store_ 71 components/policy/core/common/cloud/cloud_policy_service.cc store_->Store(*policy, client->fetched_invalidation_version()); store_ 87 components/policy/core/common/cloud/cloud_policy_service.cc const em::PolicyData* policy(store_->policy()); store_ 132 components/policy/core/common/cloud/cloud_policy_service.cc if (!IsInitializationComplete() && store_->is_initialized()) { store_ 86 components/policy/core/common/cloud/cloud_policy_service.h CloudPolicyStore* store_; store_ 36 components/policy/core/common/cloud/cloud_policy_service_unittest.cc service_(policy_ns_key_, &client_, &store_) {} store_ 43 components/policy/core/common/cloud/cloud_policy_service_unittest.cc MockCloudPolicyStore store_; store_ 56 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_.reset(new em::PolicyData()); store_ 57 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_username("user@example.com"); store_ 65 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_CALL(store_, Store(ProtoMatches(policy))).Times(1); store_ 70 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_.reset(new em::PolicyData()); store_ 71 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_request_token("fake token"); store_ 72 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_device_id("fake client id"); store_ 73 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_timestamp(32); store_ 74 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_valid_serial_number_missing(true); store_ 75 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_public_key_version(17); store_ 77 components/policy/core/common/cloud/cloud_policy_service_unittest.cc SetupRegistration(store_.policy_->request_token(), store_ 78 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->device_id())).Times(1); store_ 79 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.NotifyStoreLoaded(); store_ 89 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_CALL(store_, Store(_)).Times(0); store_ 109 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_CALL(store_, Store(ProtoMatches(policy))).Times(1); store_ 110 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_EQ(0, store_.invalidation_version()); store_ 112 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_EQ(12345, store_.invalidation_version()); store_ 115 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_.reset(new em::PolicyData()); store_ 116 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_request_token("token"); store_ 117 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_device_id("device-id"); store_ 119 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.NotifyStoreLoaded(); store_ 164 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_CALL(store_, Store(ProtoMatches(policy))).Times(1); store_ 169 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.NotifyStoreError(); store_ 192 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_CALL(store_, Store(ProtoMatches(policy))).Times(1); store_ 202 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.NotifyStoreLoaded(); store_ 205 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_CALL(store_, Store(ProtoMatches(policy))).Times(1); store_ 210 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.NotifyStoreLoaded(); store_ 216 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.NotifyStoreLoaded(); store_ 217 components/policy/core/common/cloud/cloud_policy_service_unittest.cc CloudPolicyService service(policy_ns_key_, &client_, &store_); store_ 229 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.NotifyStoreLoaded(); store_ 236 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.NotifyStoreLoaded(); store_ 108 components/policy/core/common/cloud/component_cloud_policy_service.cc ComponentCloudPolicyStore store_; store_ 135 components/policy/core/common/cloud/component_cloud_policy_service.cc store_.Clear(); store_ 137 components/policy/core/common/cloud/component_cloud_policy_service.cc store_.SetCredentials(username, dm_token); store_ 153 components/policy/core/common/cloud/component_cloud_policy_service.cc store_.Load(); store_ 155 components/policy/core/common/cloud/component_cloud_policy_service.cc bundle->CopyFrom(store_.policy()); store_ 160 components/policy/core/common/cloud/component_cloud_policy_service.cc task_runner_, external_policy_data_fetcher_.Pass(), &store_)); store_ 182 components/policy/core/common/cloud/component_cloud_policy_service.cc bundle->CopyFrom(store_.policy()); store_ 198 components/policy/core/common/cloud/component_cloud_policy_service.cc store_.Purge(domain->first, store_ 113 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc &store_, store_ 171 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc if (!store_.has_policy()) store_ 179 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_FALSE(store_.is_initialized()); store_ 184 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc store_.policy_.reset(data); store_ 186 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc store_.NotifyStoreLoaded(); store_ 188 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(store_.is_initialized()); store_ 238 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc MockCloudPolicyStore store_; store_ 436 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_FALSE(store_.is_initialized()); store_ 439 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc store_.NotifyStoreLoaded(); store_ 471 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc store_.policy_.reset(data); store_ 472 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc store_.NotifyStoreLoaded(); store_ 519 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc store_.policy_.reset(); store_ 520 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc store_.NotifyStoreLoaded(); store_ 76 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc store_.reset(new ComponentCloudPolicyStore(&store_delegate_, cache_.get())); store_ 77 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc store_->SetCredentials(ComponentPolicyBuilder::kFakeUsername, store_ 96 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc return store_->policy().begin() == store_->policy().end(); store_ 111 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc scoped_ptr<ComponentCloudPolicyStore> store_; store_ 120 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->ValidatePolicy(CreateResponse(), &ns, &payload)); store_ 131 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->ValidatePolicy(CreateResponse(), &ns, &payload)); store_ 138 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->ValidatePolicy(CreateResponse(), &ns, &payload)); store_ 145 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->ValidatePolicy(CreateResponse(), &ns, &payload)); store_ 152 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->ValidatePolicy(CreateResponse(), &ns, &payload)); store_ 161 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->ValidatePolicy(CreateResponse(), &ns, &payload)); store_ 169 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->ValidatePolicy(CreateResponse(), &ns, &payload)); store_ 173 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc store_.reset(new ComponentCloudPolicyStore(&store_delegate_, cache_.get())); store_ 176 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->ValidatePolicy(CreateResponse(), &ns, &payload)); store_ 183 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->ValidatePolicy(CreateResponse(), &ns, &payload)); store_ 186 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->Store( store_ 189 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); store_ 210 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc store_->Load(); store_ 216 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->Store( store_ 224 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->Store( store_ 229 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->Store( store_ 236 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->Store( store_ 241 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_EQ(std::string(), store_->GetCachedHash(ns)); store_ 246 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->Store( store_ 250 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); store_ 251 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_EQ(TestPolicyHash(), store_->GetCachedHash(ns)); store_ 266 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->Store( store_ 270 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); store_ 274 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc store_->Delete(ns_fake); store_ 279 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc store_->Delete(ns); store_ 287 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->Store( store_ 291 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); store_ 294 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc store_->Purge(POLICY_DOMAIN_EXTENSIONS, store_ 298 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); store_ 311 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc store_->Purge(POLICY_DOMAIN_EXTENSIONS, base::Bind(&True)); store_ 315 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy().Equals(empty_bundle)); store_ 38 components/policy/core/common/cloud/component_cloud_policy_updater.cc : store_(store), store_ 60 components/policy/core/common/cloud/component_cloud_policy_updater.cc if (!store_->ValidatePolicy(response.Pass(), &ns, &data)) { store_ 66 components/policy/core/common/cloud/component_cloud_policy_updater.cc const std::string& cached_hash = store_->GetCachedHash(ns); store_ 82 components/policy/core/common/cloud/component_cloud_policy_updater.cc store_->Delete(ns); store_ 91 components/policy/core/common/cloud/component_cloud_policy_updater.cc base::Bind(&ComponentCloudPolicyStore::Store, base::Unretained(store_), store_ 59 components/policy/core/common/cloud/component_cloud_policy_updater.h ComponentCloudPolicyStore* store_; store_ 77 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc scoped_ptr<ComponentCloudPolicyStore> store_; store_ 90 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc store_.reset(new ComponentCloudPolicyStore(&store_delegate_, cache_.get())); store_ 91 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc store_->SetCredentials(ComponentPolicyBuilder::kFakeUsername, store_ 100 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc store_.get())); store_ 101 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc ASSERT_EQ(store_->policy().end(), store_->policy().begin()); store_ 147 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); store_ 206 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc EXPECT_TRUE(store_->Store(ns, store_ 296 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); store_ 312 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc EXPECT_TRUE(store_->policy().Equals(empty_bundle)); store_ 35 components/policy/core/common/cloud/user_cloud_policy_manager.cc store_(store.Pass()), store_ 48 components/policy/core/common/cloud/user_cloud_policy_manager.cc store_->SetSigninUsername(username); store_ 95 components/policy/core/common/cloud/user_cloud_policy_manager.cc store_->Clear(); store_ 85 components/policy/core/common/cloud/user_cloud_policy_manager.h scoped_ptr<UserCloudPolicyStore> store_; store_ 32 components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc UserCloudPolicyManagerTest() : store_(NULL) {} store_ 50 components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc store_ = new MockUserCloudPolicyStore(); store_ 51 components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc EXPECT_CALL(*store_, Load()); store_ 53 components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc scoped_ptr<UserCloudPolicyStore>(store_), store_ 61 components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc Mock::VerifyAndClearExpectations(store_); store_ 74 components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc MockUserCloudPolicyStore* store_; // Not owned. store_ 85 components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc store_->policy_map_.CopyFrom(policy_map_); store_ 87 components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc store_->NotifyStoreLoaded(); store_ 90 components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc EXPECT_CALL(*store_, Clear()); store_ 60 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_.reset( store_ 66 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc external_data_manager_->SetPolicyStore(store_.get()); store_ 67 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->SetSigninUsername(PolicyBuilder::kFakeUsername); store_ 68 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->AddObserver(&observer_); store_ 81 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->RemoveObserver(&observer_); store_ 83 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_.reset(); store_ 123 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())).InSequence(s); store_ 124 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Store(policy); store_ 128 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(store_->policy()); store_ 133 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc scoped_ptr<UserCloudPolicyStore> store_; store_ 147 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 148 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 152 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())).InSequence(s); store_ 153 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Load(); store_ 156 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 157 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 161 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 162 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 171 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ExpectError(store_.get(), CloudPolicyStore::STATUS_LOAD_ERROR); store_ 172 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Load(); store_ 175 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 176 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 180 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 181 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 185 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())).InSequence(s); store_ 186 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->LoadImmediately(); // Should load without running the message loop. store_ 188 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 189 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 193 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 194 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 203 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ExpectError(store_.get(), CloudPolicyStore::STATUS_LOAD_ERROR); store_ 204 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->LoadImmediately(); // Should load without running the message loop. store_ 206 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 207 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 229 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())).InSequence(s); store_ 230 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->LoadImmediately(); // Should load without running the message loop. store_ 234 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(store_->policy()); store_ 236 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->policy()->SerializeAsString()); store_ 237 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc VerifyPolicyMap(store_.get()); store_ 238 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 239 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_key().empty()); store_ 245 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(policy_.policy().new_public_key(), store_->policy_key()); store_ 246 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy()->has_public_key_version()); store_ 251 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 252 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 260 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->policy()->SerializeAsString()); store_ 261 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc VerifyPolicyMap(store_.get()); store_ 262 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 266 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 267 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 272 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy_map().empty()); store_ 279 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())).InSequence(s2); store_ 280 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Clear(); store_ 287 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 288 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 289 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 293 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 294 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 301 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(original_policy_key, store_->policy_key()); store_ 310 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(policy_.policy().new_public_key(), store_->policy_key()); store_ 314 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 315 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 328 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ExpectError(store_.get(), CloudPolicyStore::STATUS_VALIDATION_ERROR); store_ 329 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Store(policy_.policy()); store_ 334 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); store_ 335 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy_map().empty()); store_ 355 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->policy()->SerializeAsString()); store_ 356 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc VerifyPolicyMap(store_.get()); store_ 357 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status()); store_ 364 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy_key().empty()); store_ 385 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(store2->policy_key(), store_->policy_key()); store_ 418 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ExpectError(store_.get(), CloudPolicyStore::STATUS_VALIDATION_ERROR); store_ 419 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Store(policy_.policy()); store_ 421 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_FALSE(store_->policy()); store_ 429 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ExpectError(store_.get(), CloudPolicyStore::STATUS_VALIDATION_ERROR); store_ 430 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Store(policy_.policy()); store_ 432 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_FALSE(store_->policy()); store_ 490 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(store_->policy()->has_public_key_version()); store_ 24 content/browser/cert_store_impl.cc return store_.Store(cert, process_id); store_ 29 content/browser/cert_store_impl.cc return store_.Retrieve(cert_id, cert); store_ 33 content/browser/cert_store_impl.h RendererDataMemoizingStore<net::X509Certificate> store_; store_ 131 content/browser/media/webrtc_identity_store.cc : store_(store), request_(NULL), callback_(callback) {} store_ 166 content/browser/media/webrtc_identity_store.cc WebRTCIdentityStore* store_; store_ 49 content/browser/net/sqlite_persistent_cookie_store_perftest.cc store_->Load(base::Bind(&SQLitePersistentCookieStorePerfTest::OnLoaded, store_ 66 content/browser/net/sqlite_persistent_cookie_store_perftest.cc store_ = new SQLitePersistentCookieStore( store_ 81 content/browser/net/sqlite_persistent_cookie_store_perftest.cc store_->AddCookie( store_ 90 content/browser/net/sqlite_persistent_cookie_store_perftest.cc store_ = NULL; store_ 97 content/browser/net/sqlite_persistent_cookie_store_perftest.cc store_ = new SQLitePersistentCookieStore( store_ 105 content/browser/net/sqlite_persistent_cookie_store_perftest.cc store_ = NULL; store_ 115 content/browser/net/sqlite_persistent_cookie_store_perftest.cc scoped_refptr<SQLitePersistentCookieStore> store_; store_ 124 content/browser/net/sqlite_persistent_cookie_store_perftest.cc store_->LoadCookiesForKey(domain_name, store_ 95 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->Load(base::Bind(&SQLitePersistentCookieStoreTest::OnLoaded, store_ 103 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->Flush(base::Bind(&base::WaitableEvent::Signal, store_ 119 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_ = NULL; store_ 134 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_ = new SQLitePersistentCookieStore( store_ 162 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->AddCookie( store_ 193 content/browser/net/sqlite_persistent_cookie_store_unittest.cc scoped_refptr<SQLitePersistentCookieStore> store_; store_ 254 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->DeleteCookie(*cookies[0]); store_ 277 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_ = new SQLitePersistentCookieStore( store_ 289 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->Load(base::Bind(&SQLitePersistentCookieStoreTest::OnLoaded, store_ 291 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->LoadCookiesForKey("aaa.com", store_ 366 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->AddCookie( store_ 394 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->AddCookie( store_ 425 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->AddCookie( store_ 431 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->AddCookie( store_ 478 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->AddCookie( store_ 487 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->AddCookie( store_ 496 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->AddCookie( store_ 561 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->DeleteCookie(*(cookies_[0])); store_ 102 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc store_(new MockWebRTCIdentityStore()), store_ 103 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc host_(new WebRTCIdentityServiceHostForTest(store_.get())) {} store_ 148 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc scoped_refptr<MockWebRTCIdentityStore> store_; store_ 156 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc EXPECT_TRUE(store_->HasPendingRequest()); store_ 158 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc EXPECT_FALSE(store_->HasPendingRequest()); store_ 163 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc EXPECT_TRUE(store_->HasPendingRequest()); store_ 172 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc store_->RunCompletionCallback(net::OK, FAKE_CERTIFICATE, FAKE_PRIVATE_KEY); store_ 178 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc store_->RunCompletionCallback(net::ERR_KEY_GENERATION_FAILED, "", ""); store_ 194 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc store_->RunCompletionCallback(net::OK, FAKE_CERTIFICATE, FAKE_PRIVATE_KEY); store_ 30 content/browser/signed_certificate_timestamp_store_impl.cc return store_.Store(sct, process_id); store_ 36 content/browser/signed_certificate_timestamp_store_impl.cc return store_.Retrieve(sct_id, sct); store_ 36 content/browser/signed_certificate_timestamp_store_impl.h RendererDataMemoizingStore<net::ct::SignedCertificateTimestamp> store_; store_ 41 extensions/browser/value_store/leveldb_value_store_unittest.cc ASSERT_FALSE(store_->Get()->HasError()); store_ 45 extensions/browser/value_store/leveldb_value_store_unittest.cc store_->Clear(); store_ 46 extensions/browser/value_store/leveldb_value_store_unittest.cc store_.reset(); store_ 49 extensions/browser/value_store/leveldb_value_store_unittest.cc void CloseStore() { store_.reset(); } store_ 51 extensions/browser/value_store/leveldb_value_store_unittest.cc void OpenStore() { store_.reset(new LeveldbValueStore(database_path())); } store_ 53 extensions/browser/value_store/leveldb_value_store_unittest.cc LeveldbValueStore* store() { return store_.get(); } store_ 57 extensions/browser/value_store/leveldb_value_store_unittest.cc scoped_ptr<LeveldbValueStore> store_; store_ 119 gpu/command_buffer/service/memory_program_cache.cc store_.Clear(); store_ 147 gpu/command_buffer/service/memory_program_cache.cc ProgramMRUCache::iterator found = store_.Get(sha_string); store_ 148 gpu/command_buffer/service/memory_program_cache.cc if (found == store_.end()) { store_ 228 gpu/command_buffer/service/memory_program_cache.cc ProgramMRUCache::iterator existing = store_.Peek(sha_string); store_ 229 gpu/command_buffer/service/memory_program_cache.cc if(existing != store_.end()) store_ 230 gpu/command_buffer/service/memory_program_cache.cc store_.Erase(existing); store_ 233 gpu/command_buffer/service/memory_program_cache.cc DCHECK(!store_.empty()); store_ 234 gpu/command_buffer/service/memory_program_cache.cc store_.Erase(store_.rbegin()); store_ 251 gpu/command_buffer/service/memory_program_cache.cc store_.Put(sha_string, store_ 311 gpu/command_buffer/service/memory_program_cache.cc store_.Put(proto->sha(), store_ 140 gpu/command_buffer/service/memory_program_cache.h ProgramMRUCache store_; store_ 166 net/cert/x509_certificate_openssl.cc X509_STORE* store() const { return store_.get(); } store_ 169 net/cert/x509_certificate_openssl.cc store_.reset(X509_STORE_new()); store_ 170 net/cert/x509_certificate_openssl.cc DCHECK(store_.get()); store_ 171 net/cert/x509_certificate_openssl.cc X509_STORE_set_default_paths(store_.get()); store_ 185 net/cert/x509_certificate_openssl.cc crypto::ScopedOpenSSL<X509_STORE, X509_STORE_free> store_; store_ 315 net/cookies/cookie_monster.cc store_(store), store_ 331 net/cookies/cookie_monster.cc store_(store), store_ 1061 net/cookies/cookie_monster.cc store_->LoadCookiesForKey(key, store_ 1292 net/cookies/cookie_monster.cc if (initialized_ && store_.get()) store_ 1293 net/cookies/cookie_monster.cc store_->Flush(callback); store_ 1404 net/cookies/cookie_monster.cc if (store_.get()) { store_ 1405 net/cookies/cookie_monster.cc store_->SetForceKeepSessionState(); store_ 1416 net/cookies/cookie_monster.cc DCHECK(!store_.get()) << "This method is only to be used by unit-tests."; store_ 1429 net/cookies/cookie_monster.cc DCHECK(store_.get()) << "Store must exist to initialize"; store_ 1433 net/cookies/cookie_monster.cc store_->Load(base::Bind(&CookieMonster::OnLoaded, this, TimeTicks::Now())); store_ 1766 net/cookies/cookie_monster.cc if ((cc->IsPersistent() || persist_session_cookies_) && store_.get() && store_ 1768 net/cookies/cookie_monster.cc store_->AddCookie(*cc); store_ 1858 net/cookies/cookie_monster.cc if ((cc->IsPersistent() || persist_session_cookies_) && store_.get()) store_ 1859 net/cookies/cookie_monster.cc store_->UpdateCookieAccessTime(*cc); store_ 1882 net/cookies/cookie_monster.cc if ((cc->IsPersistent() || persist_session_cookies_) && store_.get() && store_ 1884 net/cookies/cookie_monster.cc store_->DeleteCookie(*cc); store_ 454 net/cookies/cookie_monster.h if (store_.get()) { store_ 646 net/cookies/cookie_monster.h scoped_refptr<PersistentCookieStore> store_; store_ 22 net/ssl/client_cert_store_chromeos_unittest.cc : store_("usernamehash", store_ 24 net/ssl/client_cert_store_chromeos_unittest.cc store_.InitForTesting( store_ 32 net/ssl/client_cert_store_chromeos_unittest.cc return store_.SelectClientCertsForTesting( store_ 37 net/ssl/client_cert_store_chromeos_unittest.cc ClientCertStoreChromeOS store_; store_ 16 net/ssl/client_cert_store_mac_unittest.cc return store_.SelectClientCertsForTesting( store_ 21 net/ssl/client_cert_store_mac_unittest.cc ClientCertStoreMac store_; store_ 35 net/ssl/client_cert_store_mac_unittest.cc return store_.SelectClientCertsGivenPreferredForTesting( store_ 40 net/ssl/client_cert_store_mac_unittest.cc ClientCertStoreMac store_; store_ 14 net/ssl/client_cert_store_nss_unittest.cc : store_(ClientCertStoreNSS::PasswordDelegateFactory()) {} store_ 19 net/ssl/client_cert_store_nss_unittest.cc return store_.SelectClientCertsForTesting( store_ 24 net/ssl/client_cert_store_nss_unittest.cc ClientCertStoreNSS store_; store_ 16 net/ssl/client_cert_store_win_unittest.cc return store_.SelectClientCertsForTesting( store_ 21 net/ssl/client_cert_store_win_unittest.cc ClientCertStoreWin store_; store_ 232 net/ssl/default_server_bound_cert_store.cc store_(store), store_ 309 net/ssl/default_server_bound_cert_store.cc if (store_.get()) store_ 310 net/ssl/default_server_bound_cert_store.cc store_->SetForceKeepSessionState(); store_ 329 net/ssl/default_server_bound_cert_store.cc DCHECK(store_.get()) << "Store must exist to initialize"; store_ 332 net/ssl/default_server_bound_cert_store.cc store_->Load(base::Bind(&DefaultServerBoundCertStore::OnLoaded, store_ 405 net/ssl/default_server_bound_cert_store.cc if (store_.get()) store_ 406 net/ssl/default_server_bound_cert_store.cc store_->DeleteServerBoundCert(*cert); store_ 452 net/ssl/default_server_bound_cert_store.cc if (store_.get()) store_ 453 net/ssl/default_server_bound_cert_store.cc store_->DeleteServerBoundCert(*cert); store_ 464 net/ssl/default_server_bound_cert_store.cc if (store_.get()) store_ 465 net/ssl/default_server_bound_cert_store.cc store_->AddServerBoundCert(*cert); store_ 91 net/ssl/default_server_bound_cert_store.h if (store_.get()) { store_ 148 net/ssl/default_server_bound_cert_store.h scoped_refptr<PersistentStore> store_; store_ 28 net/ssl/openssl_client_key_store_unittest.cc : store_(OpenSSLClientKeyStore::GetInstance()) { store_ 32 net/ssl/openssl_client_key_store_unittest.cc if (store_) store_ 33 net/ssl/openssl_client_key_store_unittest.cc store_->Flush(); store_ 37 net/ssl/openssl_client_key_store_unittest.cc OpenSSLClientKeyStore* store_; store_ 42 net/ssl/openssl_client_key_store_unittest.cc ASSERT_TRUE(store_); store_ 47 net/ssl/openssl_client_key_store_unittest.cc ASSERT_TRUE(store_); store_ 56 net/ssl/openssl_client_key_store_unittest.cc ASSERT_TRUE(store_->RecordClientCertPrivateKey(cert_1.get(), store_ 59 net/ssl/openssl_client_key_store_unittest.cc store_->Flush(); store_ 64 net/ssl/openssl_client_key_store_unittest.cc ASSERT_FALSE(store_->FetchClientCertPrivateKey(cert_1.get(), &pkey)); store_ 71 net/ssl/openssl_client_key_store_unittest.cc ASSERT_TRUE(store_); store_ 80 net/ssl/openssl_client_key_store_unittest.cc ASSERT_FALSE(store_->FetchClientCertPrivateKey(cert_1.get(), &pkey)); store_ 87 net/ssl/openssl_client_key_store_unittest.cc ASSERT_TRUE(store_); store_ 102 net/ssl/openssl_client_key_store_unittest.cc ASSERT_TRUE(store_->RecordClientCertPrivateKey(cert_1.get(), store_ 108 net/ssl/openssl_client_key_store_unittest.cc ASSERT_TRUE(store_->RecordClientCertPrivateKey(cert_1.get(), store_ 115 net/ssl/openssl_client_key_store_unittest.cc ASSERT_TRUE(store_->FetchClientCertPrivateKey(cert_1.get(), &pkey2)); store_ 121 net/ssl/openssl_client_key_store_unittest.cc store_->Flush(); store_ 147 net/ssl/openssl_client_key_store_unittest.cc EXPECT_TRUE(store_->RecordClientCertPrivateKey(cert_1.get(), store_ 149 net/ssl/openssl_client_key_store_unittest.cc EXPECT_TRUE(store_->RecordClientCertPrivateKey(cert_2.get(), store_ 157 net/ssl/openssl_client_key_store_unittest.cc ASSERT_TRUE(store_->FetchClientCertPrivateKey(cert_1.get(), store_ 160 net/ssl/openssl_client_key_store_unittest.cc ASSERT_TRUE(store_->FetchClientCertPrivateKey(cert_2.get(), store_ 295 rlz/chromeos/lib/rlz_value_store_chromeos.cc store_.reset(g_store); store_ 302 rlz/chromeos/lib/rlz_value_store_chromeos.cc store_.reset(g_store); store_ 311 rlz/chromeos/lib/rlz_value_store_chromeos.cc ignore_result(store_.release()); store_ 321 rlz/chromeos/lib/rlz_value_store_chromeos.cc return store_.get(); store_ 100 rlz/lib/rlz_value_store.h scoped_ptr<RlzValueStore> store_; store_ 376 rlz/win/lib/rlz_value_store_registry.cc store_.reset(new RlzValueStoreRegistry); store_ 383 rlz/win/lib/rlz_value_store_registry.cc return store_.get(); store_ 48 sync/internal_api/test/test_user_share.cc user_share_->directory->store_.release(); store_ 94 sync/syncable/directory.cc store_(store), store_ 167 sync/syncable/directory.cc store_->Load(&tmp_handles_map, &delete_journals, &info); store_ 191 sync/syncable/directory.cc store_.reset(); store_ 505 sync/syncable/directory.cc success = store_->SaveChanges(snapshot); store_ 543 sync/syncable/directory.h scoped_ptr<DirectoryBackingStore> store_; store_ 2054 sync/syncable/syncable_unittest.cc DirectoryBackingStore* saved_store = dir_->store_.release(); store_ 20 third_party/libaddressinput/chromium/chrome_storage_impl_unittest.cc : store_(new ValueMapPrefStore()), store_ 21 third_party/libaddressinput/chromium/chrome_storage_impl_unittest.cc storage_(store_.get()), store_ 26 third_party/libaddressinput/chromium/chrome_storage_impl_unittest.cc scoped_refptr<ValueMapPrefStore> store_;