cache_ 57 apps/app_window_geometry_cache.cc ExtensionData& extension_data = cache_[extension_id]; cache_ 112 apps/app_window_geometry_cache.cc const ExtensionData& extension_data = cache_[extension_id]; cache_ 155 apps/app_window_geometry_cache.cc cache_.find(extension_id); cache_ 160 apps/app_window_geometry_cache.cc if (extension_data_it == cache_.end()) { cache_ 162 apps/app_window_geometry_cache.cc extension_data_it = cache_.find(extension_id); cache_ 163 apps/app_window_geometry_cache.cc DCHECK(extension_data_it != cache_.end()); cache_ 227 apps/app_window_geometry_cache.cc ExtensionData& extension_data = cache_[extension_id]; cache_ 281 apps/app_window_geometry_cache.cc cache_.erase(extension_id); cache_ 138 apps/app_window_geometry_cache.h std::map<std::string, ExtensionData> cache_; cache_ 30 apps/app_window_geometry_cache_unittest.cc cache_.reset(new AppWindowGeometryCache(&profile_, prefs_->prefs())); cache_ 31 apps/app_window_geometry_cache_unittest.cc cache_->SetSyncDelayForTests(0); cache_ 52 apps/app_window_geometry_cache_unittest.cc scoped_ptr<AppWindowGeometryCache> cache_; cache_ 83 apps/app_window_geometry_cache_unittest.cc cache_->LoadGeometryFromStorage(extension_id); cache_ 89 apps/app_window_geometry_cache_unittest.cc cache_->OnExtensionUnloaded(extension_id); cache_ 96 apps/app_window_geometry_cache_unittest.cc ASSERT_FALSE(cache_->GetGeometry(extension_id, kWindowId, NULL, NULL, NULL)); cache_ 108 apps/app_window_geometry_cache_unittest.cc ASSERT_FALSE(cache_->GetGeometry(extension_id2, kWindowId, NULL, NULL, NULL)); cache_ 119 apps/app_window_geometry_cache_unittest.cc ASSERT_FALSE(cache_->GetGeometry(extension_id, kWindowId2, NULL, NULL, NULL)); cache_ 134 apps/app_window_geometry_cache_unittest.cc ASSERT_TRUE(cache_->GetGeometry( cache_ 152 apps/app_window_geometry_cache_unittest.cc ASSERT_FALSE(cache_->GetGeometry( cache_ 170 apps/app_window_geometry_cache_unittest.cc ASSERT_FALSE(cache_->GetGeometry( cache_ 188 apps/app_window_geometry_cache_unittest.cc ASSERT_FALSE(cache_->GetGeometry( cache_ 208 apps/app_window_geometry_cache_unittest.cc cache_->SaveGeometry(extension_id, window_id, bounds, screen_bounds, state); cache_ 214 apps/app_window_geometry_cache_unittest.cc ASSERT_TRUE(cache_->GetGeometry( cache_ 252 apps/app_window_geometry_cache_unittest.cc ASSERT_TRUE(cache_->GetGeometry( cache_ 281 apps/app_window_geometry_cache_unittest.cc cache_->SaveGeometry( cache_ 288 apps/app_window_geometry_cache_unittest.cc cache_->SaveGeometry( cache_ 295 apps/app_window_geometry_cache_unittest.cc cache_->SaveGeometry( cache_ 302 apps/app_window_geometry_cache_unittest.cc cache_->SaveGeometry(extension_id, cache_ 313 apps/app_window_geometry_cache_unittest.cc cache_->SaveGeometry(extension_id, cache_ 332 apps/app_window_geometry_cache_unittest.cc cache_->SaveGeometry( cache_ 337 apps/app_window_geometry_cache_unittest.cc EXPECT_FALSE(cache_->GetGeometry(extension_id, "window_0", NULL, NULL, NULL)); cache_ 341 apps/app_window_geometry_cache_unittest.cc EXPECT_TRUE(cache_->GetGeometry(extension_id, window_id, NULL, NULL, NULL)); cache_ 26 chrome/browser/apps/app_window_browsertest.cc : cache_(cache), cache_ 32 chrome/browser/apps/app_window_browsertest.cc cache_->AddObserver(this); cache_ 59 chrome/browser/apps/app_window_browsertest.cc cache_->RemoveObserver(this); cache_ 67 chrome/browser/apps/app_window_browsertest.cc AppWindowGeometryCache* cache_; cache_ 181 chrome/browser/browsing_data/browsing_data_remover.cc cache_(NULL), cache_ 893 chrome/browser/browsing_data/browsing_data_remover.cc &cache_, base::Bind(&BrowsingDataRemover::DoClearCache, cache_ 903 chrome/browser/browsing_data/browsing_data_remover.cc if (cache_) { cache_ 905 chrome/browser/browsing_data/browsing_data_remover.cc rv = cache_->DoomAllEntries( cache_ 909 chrome/browser/browsing_data/browsing_data_remover.cc rv = cache_->DoomEntriesBetween( cache_ 914 chrome/browser/browsing_data/browsing_data_remover.cc cache_ = NULL; cache_ 919 chrome/browser/browsing_data/browsing_data_remover.cc cache_ = NULL; cache_ 371 chrome/browser/browsing_data/browsing_data_remover.h disk_cache::Backend* cache_; cache_ 99 chrome/browser/chromeos/drive/change_list_loader_unittest.cc cache_.reset(new FileCache(metadata_storage_.get(), cache_ 103 chrome/browser/chromeos/drive/change_list_loader_unittest.cc ASSERT_TRUE(cache_->Initialize()); cache_ 141 chrome/browser/chromeos/drive/change_list_loader_unittest.cc scoped_ptr<FileCache, test_util::DestroyHelperForTests> cache_; cache_ 104 chrome/browser/chromeos/drive/directory_loader_unittest.cc cache_.reset(new FileCache(metadata_storage_.get(), cache_ 108 chrome/browser/chromeos/drive/directory_loader_unittest.cc ASSERT_TRUE(cache_->Initialize()); cache_ 146 chrome/browser/chromeos/drive/directory_loader_unittest.cc scoped_ptr<FileCache, test_util::DestroyHelperForTests> cache_; cache_ 253 chrome/browser/chromeos/drive/drive_integration_service.cc cache_.reset(new internal::FileCache( cache_ 267 chrome/browser/chromeos/drive/drive_integration_service.cc cache_.get(), cache_ 275 chrome/browser/chromeos/drive/drive_integration_service.cc cache_.get(), resource_metadata_.get(), file_system(), cache_ 483 chrome/browser/chromeos/drive/drive_integration_service.cc cache_.get(), cache_ 165 chrome/browser/chromeos/drive/drive_integration_service.h scoped_ptr<internal::FileCache, util::DestroyHelper> cache_; cache_ 51 chrome/browser/chromeos/drive/file_cache_unittest.cc cache_.reset(new FileCache( cache_ 56 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_TRUE(cache_->Initialize()); cache_ 69 chrome/browser/chromeos/drive/file_cache_unittest.cc scoped_ptr<FileCache, test_util::DestroyHelperForTests> cache_; cache_ 80 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Store("id_foo", "md5", src_path, cache_ 97 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->RecoverFilesFromCacheDirectory(dest_directory, cache_ 134 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Store( cache_ 140 chrome/browser/chromeos/drive/file_cache_unittest.cc scoped_ptr<FileCache::Iterator> it = cache_->GetIterator(); cache_ 154 chrome/browser/chromeos/drive/file_cache_unittest.cc cache_->Store(id_tmp, md5_tmp, src_file, cache_ 157 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_EQ(FILE_ERROR_OK, cache_->GetFile(id_tmp, &tmp_path)); cache_ 162 chrome/browser/chromeos/drive/file_cache_unittest.cc cache_->Store(id_pinned, md5_pinned, src_file, cache_ 164 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_EQ(FILE_ERROR_OK, cache_->Pin(id_pinned)); cache_ 166 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_EQ(FILE_ERROR_OK, cache_->GetFile(id_pinned, &pinned_path)); cache_ 172 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->FreeDiskSpaceIfNeededFor(kNeededBytes)); cache_ 176 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_FALSE(cache_->GetCacheEntry(id_tmp, &entry)); cache_ 179 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(id_pinned, &entry)); cache_ 184 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_FALSE(cache_->FreeDiskSpaceIfNeededFor(kNeededBytes)); cache_ 199 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Store(id, md5, src_file_path, cache_ 202 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->GetFile(id, &cache_file_path)); cache_ 213 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_NOT_FOUND, cache_->GetFile(id, &cache_file_path)); cache_ 216 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(id)); cache_ 219 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_NOT_FOUND, cache_->GetFile(id, &cache_file_path)); cache_ 222 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Store(id, md5, src_file_path, cache_ 225 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->GetFile(id, &cache_file_path)); cache_ 244 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Store( cache_ 248 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(id, &cache_entry)); cache_ 253 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->GetFile(id, &cache_file_path)); cache_ 257 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_FAILED, cache_->Store( cache_ 262 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Store( cache_ 265 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(id, &cache_entry)); cache_ 273 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_NO_LOCAL_SPACE, cache_->Store( cache_ 286 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Store( cache_ 290 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(id, &cache_entry)); cache_ 294 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(id)); cache_ 296 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(id, &cache_entry)); cache_ 300 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Unpin(id)); cache_ 302 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(id, &cache_entry)); cache_ 307 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(id_non_present)); cache_ 309 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(id_non_present, &cache_entry)); cache_ 313 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Unpin(id_non_present)); cache_ 315 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_FALSE(cache_->GetCacheEntry(id_non_present, &cache_entry)); cache_ 318 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_NOT_FOUND, cache_->Unpin("id_non_existent")); cache_ 330 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Store( cache_ 335 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->MarkAsMounted(id, &cache_file_path)); cache_ 338 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_IN_USE, cache_->Remove(id)); cache_ 341 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->MarkAsUnmounted(cache_file_path)); cache_ 344 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Remove(id)); cache_ 353 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_EQ(FILE_ERROR_OK, cache_->Store(id, "md5", src_file, cache_ 357 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_FALSE(cache_->IsOpenedForWrite(id)); cache_ 359 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(id, &entry)); cache_ 364 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->OpenForWrite(id, &file_closer1)); cache_ 365 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->IsOpenedForWrite(id)); cache_ 368 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(id, &entry)); cache_ 373 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->OpenForWrite(id, &file_closer2)); cache_ 374 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->IsOpenedForWrite(id)); cache_ 378 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->IsOpenedForWrite(id)); cache_ 382 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_FALSE(cache_->IsOpenedForWrite(id)); cache_ 386 chrome/browser/chromeos/drive/file_cache_unittest.cc cache_->OpenForWrite("nonexistent_id", &file_closer1)); cache_ 396 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Store(id, base::MD5String(contents_before), cache_ 402 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->OpenForWrite(id, &file_closer)); cache_ 404 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->GetFile(id, &cache_file_path)); cache_ 410 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_IN_USE, cache_->UpdateMd5(id)); cache_ 417 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(id, &entry)); cache_ 421 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->UpdateMd5(id)); cache_ 422 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(id, &entry)); cache_ 432 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_EQ(FILE_ERROR_OK, cache_->Store(id, "md5", src_file, cache_ 437 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->OpenForWrite(id, &file_closer)); cache_ 441 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(id, &entry)); cache_ 445 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_IN_USE, cache_->ClearDirty(id)); cache_ 449 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->ClearDirty(id)); cache_ 452 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(id, &entry)); cache_ 467 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Store( cache_ 471 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->GetFile(id, &cache_file_path)); cache_ 474 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Remove(id)); cache_ 493 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(RenameCacheFilesToNewFormat(cache_.get())); cache_ 504 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(RenameCacheFilesToNewFormat(cache_.get())); cache_ 525 chrome/browser/chromeos/drive/file_cache_unittest.cc cache_->Store(id, md5, src_file, FileCache::FILE_OPERATION_COPY)); cache_ 529 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_TRUE(cache_->GetCacheEntry(id, &cache_entry)); cache_ 532 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(cache_->ClearAll()); cache_ 535 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_FALSE(cache_->GetCacheEntry(id, &cache_entry)); cache_ 282 chrome/browser/chromeos/drive/file_system.cc cache_(cache), cache_ 313 chrome/browser/chromeos/drive/file_system.cc base::Bind(&ResetOnBlockingPool, resource_metadata_, cache_), cache_ 343 chrome/browser/chromeos/drive/file_system.cc cache_, cache_ 353 chrome/browser/chromeos/drive/file_system.cc cache_, cache_ 370 chrome/browser/chromeos/drive/file_system.cc cache_, cache_ 376 chrome/browser/chromeos/drive/file_system.cc cache_)); cache_ 384 chrome/browser/chromeos/drive/file_system.cc cache_, cache_ 391 chrome/browser/chromeos/drive/file_system.cc cache_, cache_ 402 chrome/browser/chromeos/drive/file_system.cc cache_, cache_ 544 chrome/browser/chromeos/drive/file_system.cc base::Bind(&PinInternal, resource_metadata_, cache_, file_path, local_id), cache_ 573 chrome/browser/chromeos/drive/file_system.cc cache_, cache_ 668 chrome/browser/chromeos/drive/file_system.cc cache_, cache_ 871 chrome/browser/chromeos/drive/file_system.cc cache_, cache_ 908 chrome/browser/chromeos/drive/file_system.cc cache_, cache_ 922 chrome/browser/chromeos/drive/file_system.cc if (!cache_->IsUnderFileCacheDirectory(cache_file_path)) { cache_ 931 chrome/browser/chromeos/drive/file_system.cc base::Unretained(cache_), cache_ 948 chrome/browser/chromeos/drive/file_system.cc cache_, cache_ 255 chrome/browser/chromeos/drive/file_system.h internal::FileCache* cache_; cache_ 285 chrome/browser/chromeos/drive/file_system/copy_operation.cc cache_(cache), cache_ 317 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind(&TryToCopyLocally, metadata_, cache_, params, cache_ 564 chrome/browser/chromeos/drive/file_system/copy_operation.cc metadata_, cache_, local_src_path, remote_dest_path, local_id), cache_ 155 chrome/browser/chromeos/drive/file_system/copy_operation.h internal::FileCache* cache_; cache_ 336 chrome/browser/chromeos/drive/file_system/download_operation.cc cache_(cache), cache_ 355 chrome/browser/chromeos/drive/file_system/download_operation.cc params.cache = cache_; cache_ 396 chrome/browser/chromeos/drive/file_system/download_operation.cc params.cache = cache_; cache_ 489 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Unretained(cache_), cache_ 117 chrome/browser/chromeos/drive/file_system/download_operation.h internal::FileCache* cache_; cache_ 46 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc cache_(cache), cache_ 111 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Unretained(cache_), cache_ 185 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Unretained(cache_), cache_ 94 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h internal::FileCache* cache_; cache_ 37 chrome/browser/chromeos/drive/file_system/open_file_operation.cc cache_(cache), cache_ 131 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Unretained(cache_), cache_ 181 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Unretained(cache_), cache_ 88 chrome/browser/chromeos/drive/file_system/open_file_operation.h internal::FileCache* cache_; cache_ 104 chrome/browser/chromeos/drive/file_system/operation_test_base.cc cache_.reset(new internal::FileCache(metadata_storage_.get(), cache_ 113 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Unretained(cache_.get())), cache_ 123 chrome/browser/chromeos/drive/file_system/operation_test_base.h internal::FileCache* cache() { return cache_.get(); } cache_ 146 chrome/browser/chromeos/drive/file_system/operation_test_base.h scoped_ptr<internal::FileCache, test_util::DestroyHelperForTests> cache_; cache_ 69 chrome/browser/chromeos/drive/file_system/remove_operation.cc cache_(cache), cache_ 91 chrome/browser/chromeos/drive/file_system/remove_operation.cc cache_, cache_ 62 chrome/browser/chromeos/drive/file_system/remove_operation.h internal::FileCache* cache_; cache_ 67 chrome/browser/chromeos/drive/file_system/truncate_operation.cc cache_(cache), cache_ 129 chrome/browser/chromeos/drive/file_system/truncate_operation.cc metadata_, cache_, entry->local_id(), local_file_path, length), cache_ 72 chrome/browser/chromeos/drive/file_system/truncate_operation.h internal::FileCache* cache_; cache_ 111 chrome/browser/chromeos/drive/file_system_unittest.cc cache_.reset(new internal::FileCache( cache_ 116 chrome/browser/chromeos/drive/file_system_unittest.cc ASSERT_TRUE(cache_->Initialize()); cache_ 127 chrome/browser/chromeos/drive/file_system_unittest.cc cache_.get(), cache_ 310 chrome/browser/chromeos/drive/file_system_unittest.cc scoped_ptr<internal::FileCache, test_util::DestroyHelperForTests> cache_; cache_ 804 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(entry->local_id(), &cache_entry)); cache_ 815 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(entry->local_id(), &cache_entry)); cache_ 850 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_FALSE(cache_->GetCacheEntry(entry->local_id(), &cache_entry)); cache_ 873 chrome/browser/chromeos/drive/file_system_unittest.cc ASSERT_EQ(FILE_ERROR_OK, cache_->Store( cache_ 889 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_EQ(FILE_ERROR_IN_USE, cache_->Remove(entry->local_id())); cache_ 900 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Remove(entry->local_id())); cache_ 35 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc cache_.reset(new FileCache(metadata_storage_.get(), cache_ 44 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc ASSERT_TRUE(cache_->Initialize()); cache_ 53 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc scoped_ptr<FileCache, test_util::DestroyHelperForTests> cache_; cache_ 67 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc cache_->Store(local_id, md5, dummy_file, cache_ 72 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(local_id, &cache_entry)); cache_ 79 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc RemoveStaleCacheFiles(cache_.get(), resource_metadata_.get()); cache_ 82 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc EXPECT_FALSE(cache_->GetCacheEntry(local_id, &cache_entry)); cache_ 92 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc cache_->Store(local_id_1, std::string(), dummy_file, cache_ 108 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc cache_->Store(local_id_2, std::string(), dummy_file, cache_ 112 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc RemoveStaleCacheFiles(cache_.get(), resource_metadata_.get()); cache_ 117 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc EXPECT_FALSE(cache_->GetCacheEntry(local_id_1, &cache_entry)); cache_ 118 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(local_id_2, &cache_entry)); cache_ 50 chrome/browser/chromeos/drive/search_metadata_unittest.cc cache_.reset(new FileCache(metadata_storage_.get(), cache_ 54 chrome/browser/chromeos/drive/search_metadata_unittest.cc ASSERT_TRUE(cache_->Initialize()); cache_ 85 chrome/browser/chromeos/drive/search_metadata_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Store( cache_ 111 chrome/browser/chromeos/drive/search_metadata_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Store( cache_ 155 chrome/browser/chromeos/drive/search_metadata_unittest.cc scoped_ptr<FileCache, test_util::DestroyHelperForTests> cache_; cache_ 186 chrome/browser/chromeos/drive/sync/entry_update_performer.cc cache_(cache), cache_ 215 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Bind(&PrepareUpdate, metadata_, cache_, local_id, local_state_ptr), cache_ 370 chrome/browser/chromeos/drive/sync/entry_update_performer.cc metadata_, cache_, local_id, base::Passed(&resource_entry), cache_ 88 chrome/browser/chromeos/drive/sync/entry_update_performer.h FileCache* cache_; cache_ 151 chrome/browser/chromeos/drive/sync_client.cc cache_(cache), cache_ 197 chrome/browser/chromeos/drive/sync_client.cc cache_, cache_ 376 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&FileCache::Unpin, base::Unretained(cache_), local_id), cache_ 154 chrome/browser/chromeos/drive/sync_client.h FileCache* cache_; cache_ 133 chrome/browser/chromeos/drive/sync_client_unittest.cc cache_.reset(new FileCache(metadata_storage_.get(), cache_ 137 chrome/browser/chromeos/drive/sync_client_unittest.cc ASSERT_TRUE(cache_->Initialize()); cache_ 154 chrome/browser/chromeos/drive/sync_client_unittest.cc cache_.get(), cache_ 204 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("foo"))); cache_ 205 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("bar"))); cache_ 206 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("baz"))); cache_ 211 chrome/browser/chromeos/drive/sync_client_unittest.cc cache_->Store(GetLocalId("fetched"), md5_fetched, cache_ 213 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("fetched"))); cache_ 217 chrome/browser/chromeos/drive/sync_client_unittest.cc cache_->Store(GetLocalId("dirty"), std::string(), cache_ 219 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("dirty"))); cache_ 224 chrome/browser/chromeos/drive/sync_client_unittest.cc cache_.get()); cache_ 264 chrome/browser/chromeos/drive/sync_client_unittest.cc scoped_ptr<FileCache, test_util::DestroyHelperForTests> cache_; cache_ 279 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("foo"), &cache_entry)); cache_ 282 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("bar"), &cache_entry)); cache_ 285 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("baz"), &cache_entry)); cache_ 289 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("dirty"), &cache_entry)); cache_ 321 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("foo"), &cache_entry)); cache_ 333 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_FALSE(cache_->GetCacheEntry(GetLocalId("foo"), &cache_entry)); cache_ 347 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("foo"), &cache_entry)); cache_ 350 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("bar"), &cache_entry)); cache_ 353 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("baz"), &cache_entry)); cache_ 368 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->GetFile(GetLocalId("fetched"), &cache_file)); cache_ 373 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->GetFile(GetLocalId("dirty"), &cache_file)); cache_ 400 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("foo"), &cache_entry)); cache_ 402 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("dirty"), &cache_entry)); cache_ 412 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("foo"), &cache_entry)); cache_ 414 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("dirty"), &cache_entry)); cache_ 51 chrome/browser/chromeos/policy/cloud_external_data_store.cc cache_->PurgeOtherSubkeys(cache_key_, subkeys_to_keep); cache_ 58 chrome/browser/chromeos/policy/cloud_external_data_store.cc return cache_->Store(cache_key_, GetSubkey(policy, hash), data); cache_ 67 chrome/browser/chromeos/policy/cloud_external_data_store.cc if (cache_->Load(cache_key_, subkey, data)) { cache_ 72 chrome/browser/chromeos/policy/cloud_external_data_store.cc cache_->Delete(cache_key_, subkey); cache_ 63 chrome/browser/chromeos/policy/cloud_external_data_store.h ResourceCache* cache_; // Not owned. cache_ 19 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc TokenCacheTest() : cache_(&profile_) {} cache_ 20 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc virtual ~TokenCacheTest() { cache_.Shutdown(); } cache_ 23 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc return cache_.token_cache_.size(); cache_ 27 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc return cache_.RetrieveToken(token_name) != std::string(); cache_ 43 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc cache_.token_cache_[token_name] = token_data; cache_ 48 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc TokenCacheService cache_; cache_ 53 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc cache_.StoreToken("foo", "bar", zero); cache_ 61 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc cache_.StoreToken("Mozart", "Eine Kleine Nacht Musik", zero); cache_ 62 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc cache_.StoreToken("Bach", "Brandenburg Concerto #3", zero); cache_ 63 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc cache_.StoreToken("Beethoven", "Emperor Piano Concerto #5", zero); cache_ 64 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc cache_.StoreToken("Handel", "Water Music", zero); cache_ 65 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc cache_.StoreToken("Chopin", "Heroic", zero); cache_ 67 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc std::string found_token = cache_.RetrieveToken("Chopin"); cache_ 73 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc cache_.StoreToken("Chopin", "Heroic", zero); cache_ 75 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc std::string found_token = cache_.RetrieveToken("Chopin"); cache_ 78 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc cache_.StoreToken("Chopin", "Military", zero); cache_ 80 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc found_token = cache_.RetrieveToken("Chopin"); cache_ 87 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc cache_.StoreToken("foo", "bar", zero); cache_ 92 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc cache_.GoogleSignedOut("foo"); cache_ 42 chrome/browser/extensions/updater/extension_cache_fake.cc Map::iterator it = cache_.find(id); cache_ 43 chrome/browser/extensions/updater/extension_cache_fake.cc if (it == cache_.end()) { cache_ 59 chrome/browser/extensions/updater/extension_cache_fake.cc cache_[id].first = version; cache_ 60 chrome/browser/extensions/updater/extension_cache_fake.cc cache_[id].second = file_path; cache_ 40 chrome/browser/extensions/updater/extension_cache_fake.h Map cache_; cache_ 56 chrome/browser/extensions/updater/extension_cache_impl.cc cache_->Init(true, base::Bind(&ExtensionCacheImpl::OnCacheInitialized, cache_ 64 chrome/browser/extensions/updater/extension_cache_impl.cc if (!cache_ || cache_->is_ready()) { cache_ 73 chrome/browser/extensions/updater/extension_cache_impl.cc if (cache_) cache_ 74 chrome/browser/extensions/updater/extension_cache_impl.cc cache_->Shutdown(callback); cache_ 86 chrome/browser/extensions/updater/extension_cache_impl.cc if (cache_) cache_ 87 chrome/browser/extensions/updater/extension_cache_impl.cc return cache_->GetExtension(id, file_path, version); cache_ 96 chrome/browser/extensions/updater/extension_cache_impl.cc if (cache_ && ContainsKey(allowed_extensions_, id)) cache_ 97 chrome/browser/extensions/updater/extension_cache_impl.cc cache_->PutExtension(id, file_path, version, callback); cache_ 111 chrome/browser/extensions/updater/extension_cache_impl.cc if (cache_->GetStatistics(&cache_size, &extensions_count)) { cache_ 122 chrome/browser/extensions/updater/extension_cache_impl.cc if (!cache_) cache_ 131 chrome/browser/extensions/updater/extension_cache_impl.cc cache_->RemoveExtension(installer->expected_id()); cache_ 63 chrome/browser/extensions/updater/extension_cache_impl.h scoped_ptr<LocalExtensionCache> cache_; cache_ 37 chrome/browser/history/top_sites_cache_unittest.cc TopSitesCache cache_; cache_ 65 chrome/browser/history/top_sites_cache_unittest.cc cache_.SetTopSites(top_sites_); cache_ 107 chrome/browser/history/top_sites_cache_unittest.cc EXPECT_EQ(expected, cache_.GetCanonicalURL(GURL(query)).spec()) cache_ 115 chrome/browser/history/top_sites_cache_unittest.cc EXPECT_TRUE(cache_.IsKnownURL(GURL("http://www.google.com"))); cache_ 116 chrome/browser/history/top_sites_cache_unittest.cc EXPECT_TRUE(cache_.IsKnownURL(GURL("http://www.gooogle.com"))); cache_ 117 chrome/browser/history/top_sites_cache_unittest.cc EXPECT_TRUE(cache_.IsKnownURL(GURL("http://www.google.com/"))); cache_ 120 chrome/browser/history/top_sites_cache_unittest.cc EXPECT_FALSE(cache_.IsKnownURL(GURL("http://www.google.com?"))); cache_ 121 chrome/browser/history/top_sites_cache_unittest.cc EXPECT_FALSE(cache_.IsKnownURL(GURL("http://www.google.net"))); cache_ 122 chrome/browser/history/top_sites_cache_unittest.cc EXPECT_FALSE(cache_.IsKnownURL(GURL("http://www.google.com/stuff"))); cache_ 123 chrome/browser/history/top_sites_cache_unittest.cc EXPECT_FALSE(cache_.IsKnownURL(GURL("https://www.gooogle.com"))); cache_ 124 chrome/browser/history/top_sites_cache_unittest.cc EXPECT_FALSE(cache_.IsKnownURL(GURL("http://www.youtube.com/a"))); cache_ 152 chrome/browser/history/top_sites_cache_unittest.cc GURL expected(cache_.GetCanonicalURL(stored_url)); cache_ 154 chrome/browser/history/top_sites_cache_unittest.cc GURL result(cache_.GetGeneralizedCanonicalURL(stored_url)); cache_ 206 chrome/browser/history/top_sites_cache_unittest.cc GURL result(cache_.GetGeneralizedCanonicalURL(GURL(query))); cache_ 239 chrome/browser/history/top_sites_cache_unittest.cc GURL result(cache_.GetGeneralizedCanonicalURL(GURL(query))); cache_ 250 chrome/browser/history/top_sites_cache_unittest.cc cache_.SetTopSites(top_sites_); cache_ 252 chrome/browser/history/top_sites_cache_unittest.cc EXPECT_EQ(2u, cache_.GetNumForcedURLs()); cache_ 253 chrome/browser/history/top_sites_cache_unittest.cc EXPECT_EQ(2u, cache_.GetNumNonForcedURLs()); cache_ 103 chrome/browser/history/top_sites_impl.cc cache_(new TopSitesCache()), cache_ 470 chrome/browser/history/top_sites_impl.cc return loaded_ && cache_->IsKnownURL(url); cache_ 474 chrome/browser/history/top_sites_impl.cc return cache_->GetCanonicalURL(url).spec(); cache_ 478 chrome/browser/history/top_sites_impl.cc return loaded_ && cache_->GetNumNonForcedURLs() >= kNonForcedTopSitesNumber; cache_ 482 chrome/browser/history/top_sites_impl.cc return loaded_ && cache_->GetNumForcedURLs() >= kForcedTopSitesNumber; cache_ 493 chrome/browser/history/top_sites_impl.cc DCHECK(cache_->IsKnownURL(url)); cache_ 496 chrome/browser/history/top_sites_impl.cc cache_->top_sites()[cache_->GetURLIndex(url)]; cache_ 497 chrome/browser/history/top_sites_impl.cc Images* image = cache_->GetImage(url); cache_ 526 chrome/browser/history/top_sites_impl.cc if (!cache_->IsKnownURL(url)) cache_ 529 chrome/browser/history/top_sites_impl.cc size_t index = cache_->GetURLIndex(url); cache_ 530 chrome/browser/history/top_sites_impl.cc int url_rank = index - cache_->GetNumForcedURLs(); cache_ 531 chrome/browser/history/top_sites_impl.cc const MostVisitedURL& most_visited = cache_->top_sites()[index]; cache_ 534 chrome/browser/history/top_sites_impl.cc *(cache_->GetImage(most_visited.url))); cache_ 612 chrome/browser/history/top_sites_impl.cc size_t num_forced = cache_->GetNumForcedURLs(); cache_ 613 chrome/browser/history/top_sites_impl.cc MostVisitedURLList new_list(cache_->top_sites()); cache_ 616 chrome/browser/history/top_sites_impl.cc if (cache_->IsKnownURL(url)) { cache_ 617 chrome/browser/history/top_sites_impl.cc size_t index = cache_->GetURLIndex(url); cache_ 671 chrome/browser/history/top_sites_impl.cc for (size_t i = 0; i < cache_->GetNumForcedURLs(); ++i) { cache_ 672 chrome/browser/history/top_sites_impl.cc if (all_new_urls.find(cache_->top_sites()[i].url) == all_new_urls.end()) cache_ 673 chrome/browser/history/top_sites_impl.cc filtered_forced_urls.push_back(cache_->top_sites()[i]); cache_ 731 chrome/browser/history/top_sites_impl.cc if (cache_->top_sites().size() <= arraysize(kPrepopulatedPages)) cache_ 736 chrome/browser/history/top_sites_impl.cc last_num_urls_changed_ * range / cache_->top_sites().size(); cache_ 755 chrome/browser/history/top_sites_impl.cc if (cache_->IsKnownURL(i->url())) cache_ 756 chrome/browser/history/top_sites_impl.cc indices_to_delete.insert(cache_->GetURLIndex(i->url())); cache_ 762 chrome/browser/history/top_sites_impl.cc MostVisitedURLList new_top_sites(cache_->top_sites()); cache_ 781 chrome/browser/history/top_sites_impl.cc if (!cache_->IsKnownURL(url) && HistoryService::CanAddURL(url)) { cache_ 798 chrome/browser/history/top_sites_impl.cc DiffMostVisited(cache_->top_sites(), top_sites, &delta); cache_ 808 chrome/browser/history/top_sites_impl.cc cache_->SetTopSites(top_sites); cache_ 814 chrome/browser/history/top_sites_impl.cc GURL canonical_url = cache_->GetCanonicalURL(mv.url); cache_ 819 chrome/browser/history/top_sites_impl.cc if (canonical_url == cache_->GetCanonicalURL(it->first)) { cache_ 887 chrome/browser/history/top_sites_impl.cc ApplyBlacklist(cache_->top_sites(), &cached); cache_ 893 chrome/browser/history/top_sites_impl.cc thread_safe_cache_->SetThumbnails(cache_->images()); cache_ 920 chrome/browser/history/top_sites_impl.cc cache_->SetTopSites(thumbnails->most_visited); cache_ 922 chrome/browser/history/top_sites_impl.cc cache_->SetThumbnails(thumbnails->url_to_images_map); cache_ 225 chrome/browser/history/top_sites_impl.h scoped_ptr<TopSitesCache> cache_; cache_ 292 chrome/browser/history/top_sites_impl_unittest.cc return top_sites()->cache_->GetCanonicalURL(url); cache_ 29 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc PrivetFileSystemAttributeCache cache_; cache_ 37 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc cache_.AddFileInfoFromJSON( cache_ 41 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc cache_.GetFileInfo(base::FilePath(FILE_PATH_LITERAL("/test/path/foo"))); cache_ 45 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc const base::File::Info* info_bar = cache_.GetFileInfo( cache_ 50 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc const base::File::Info* info_baz = cache_.GetFileInfo( cache_ 56 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc const base::File::Info* info_notfound = cache_.GetFileInfo( cache_ 166 chrome/browser/safe_browsing/client_side_detection_service.cc cache_.clear(); cache_ 460 chrome/browser/safe_browsing/client_side_detection_service.cc cache_[info->phishing_url] = cache_ 516 chrome/browser/safe_browsing/client_side_detection_service.cc return cache_.find(url) != cache_.end(); cache_ 523 chrome/browser/safe_browsing/client_side_detection_service.cc PhishingCache::iterator it = cache_.find(url); cache_ 524 chrome/browser/safe_browsing/client_side_detection_service.cc if (it == cache_.end()) { cache_ 554 chrome/browser/safe_browsing/client_side_detection_service.cc for (PhishingCache::iterator it = cache_.begin(); it != cache_.end();) { cache_ 561 chrome/browser/safe_browsing/client_side_detection_service.cc cache_.erase(it++); cache_ 312 chrome/browser/safe_browsing/client_side_detection_service.h PhishingCache cache_; cache_ 147 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc csd_service_->cache_[gurl] = cache_ 153 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc ClientSideDetectionService::PhishingCache& cache = csd_service_->cache_; cache_ 280 chrome/browser/sync/glue/favicon_cache_unittest.cc FaviconCache* cache() { return &cache_; } cache_ 295 chrome/browser/sync/glue/favicon_cache_unittest.cc FaviconCache cache_; cache_ 303 chrome/browser/sync/glue/favicon_cache_unittest.cc : cache_(NULL, kMaxSyncFavicons), cache_ 324 chrome/browser/sync/glue/favicon_cache_unittest.cc return cache_.NumFaviconsForTest(); cache_ 328 chrome/browser/sync/glue/favicon_cache_unittest.cc return cache_.NumTasksForTest(); cache_ 336 chrome/browser/sync/glue/favicon_cache_unittest.cc if (!cache_.GetSyncedFaviconForPageURL(gurl, &favicon)) cache_ 30 chrome/browser/ui/app_list/search/common/webservice_cache.cc : cache_(Cache::NO_AUTO_EVICT), cache_ 45 chrome/browser/ui/app_list/search/common/webservice_cache.cc Cache::iterator iter = cache_.Get(typed_query); cache_ 46 chrome/browser/ui/app_list/search/common/webservice_cache.cc if (iter != cache_.end()) { cache_ 64 chrome/browser/ui/app_list/search/common/webservice_cache.cc cache_.Put(typed_query, payload); cache_ 72 chrome/browser/ui/app_list/search/common/webservice_cache.cc if (cache_.size() > kWebserviceCacheMaxSize) cache_ 96 chrome/browser/ui/app_list/search/common/webservice_cache.cc cache_.Put(it.key(), payload); cache_ 141 chrome/browser/ui/app_list/search/common/webservice_cache.cc for (Cache::size_type i = cache_.size(); i > kWebserviceCacheMaxSize; i--) { cache_ 142 chrome/browser/ui/app_list/search/common/webservice_cache.cc Cache::reverse_iterator rbegin = cache_.rbegin(); cache_ 144 chrome/browser/ui/app_list/search/common/webservice_cache.cc cache_.Erase(rbegin); cache_ 103 chrome/browser/ui/app_list/search/common/webservice_cache.h Cache cache_; cache_ 29 chrome/browser/ui/app_list/search/common/webservice_search_provider.cc cache_(WebserviceCacheFactory::GetForBrowserContext(profile)), cache_ 37 chrome/browser/ui/app_list/search/common/webservice_search_provider.h WebserviceCache* cache_; // KeyedService, not owned. cache_ 64 chrome/browser/ui/app_list/search/people/people_provider.cc const CacheResult result = cache_->Get(WebserviceCache::PEOPLE, query_); cache_ 153 chrome/browser/ui/app_list/search/people/people_provider.cc cache_->Put(WebserviceCache::PEOPLE, query_, json.Pass()); cache_ 56 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc const CacheResult result = cache_->Get(WebserviceCache::WEBSTORE, query_); cache_ 100 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc cache_->Put(WebserviceCache::WEBSTORE, query_, json.Pass()); cache_ 77 chrome/common/instant_restricted_id_cache.h mutable CacheImpl cache_; cache_ 86 chrome/common/instant_restricted_id_cache.h : cache_(max_cache_size), cache_ 87 chrome/common/instant_restricted_id_cache.h last_add_start_(cache_.rend()), cache_ 98 chrome/common/instant_restricted_id_cache.h DCHECK_LE(items.size(), cache_.max_size()); cache_ 101 chrome/common/instant_restricted_id_cache.h last_add_start_ = cache_.rend(); cache_ 107 chrome/common/instant_restricted_id_cache.h cache_.Put(id, items[i]); cache_ 109 chrome/common/instant_restricted_id_cache.h last_add_start_ = --cache_.rend(); cache_ 116 chrome/common/instant_restricted_id_cache.h DCHECK_LE(items.size(), cache_.max_size()); cache_ 119 chrome/common/instant_restricted_id_cache.h last_add_start_ = cache_.rend(); cache_ 130 chrome/common/instant_restricted_id_cache.h cache_.Put(item_id.first, item_id.second); cache_ 137 chrome/common/instant_restricted_id_cache.h last_add_start_ = cache_.rend(); cache_ 147 chrome/common/instant_restricted_id_cache.h it != cache_.rend(); ++it) { cache_ 158 chrome/common/instant_restricted_id_cache.h typename CacheImpl::const_iterator cache_it = cache_.Peek(restricted_id); cache_ 159 chrome/common/instant_restricted_id_cache.h if (cache_it == cache_.end()) cache_ 36 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(0u, cache.cache_.size()); cache_ 45 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(3u, cache.cache_.size()); cache_ 66 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(5u, cache.cache_.size()); cache_ 90 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(7u, cache.cache_.size()); cache_ 113 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(0u, cache.cache_.size()); cache_ 122 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(3u, cache.cache_.size()); cache_ 144 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(4u, cache.cache_.size()); cache_ 169 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(5u, cache.cache_.size()); cache_ 195 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(0u, cache.cache_.size()); cache_ 204 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(3u, cache.cache_.size()); cache_ 227 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(4u, cache.cache_.size()); cache_ 251 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(4u, cache.cache_.size()); cache_ 268 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(0u, cache.cache_.size()); cache_ 277 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(3u, cache.cache_.size()); cache_ 298 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(5u, cache.cache_.size()); cache_ 326 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(5u, cache.cache_.size()); cache_ 352 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(0u, cache.cache_.size()); cache_ 361 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(3u, cache.cache_.size()); cache_ 370 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(3u, cache.cache_.size()); cache_ 382 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(6u, cache.cache_.size()); cache_ 389 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(6u, cache.cache_.size()); cache_ 398 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(0u, cache.cache_.size()); cache_ 406 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(3u, cache.cache_.size()); cache_ 420 chrome/common/instant_restricted_id_cache_unittest.cc EXPECT_EQ(3u, cache.cache_.size()); cache_ 58 chrome/common/metrics/caching_permuted_entropy_provider.cc !cache_.ParseFromString(cache_data)) { cache_ 66 chrome/common/metrics/caching_permuted_entropy_provider.cc cache_.SerializeToString(&serialized); cache_ 77 chrome/common/metrics/caching_permuted_entropy_provider.cc if (cache_.entry_size() >= kMaxSize) { cache_ 84 chrome/common/metrics/caching_permuted_entropy_provider.cc cache_.mutable_entry()->SwapElements(i - 1, i); cache_ 85 chrome/common/metrics/caching_permuted_entropy_provider.cc entry = cache_.mutable_entry(kMaxSize - 1); cache_ 87 chrome/common/metrics/caching_permuted_entropy_provider.cc entry = cache_.add_entry(); cache_ 98 chrome/common/metrics/caching_permuted_entropy_provider.cc for (int i = 0; i < cache_.entry_size(); ++i) { cache_ 99 chrome/common/metrics/caching_permuted_entropy_provider.cc if (cache_.entry(i).randomization_seed() == randomization_seed) { cache_ 100 chrome/common/metrics/caching_permuted_entropy_provider.cc *value = cache_.entry(i).value(); cache_ 58 chrome/common/metrics/caching_permuted_entropy_provider.h mutable PermutedEntropyCache cache_; cache_ 99 components/nacl/browser/pnacl_translation_cache.cc base::WeakPtr<PnaclTranslationCache> cache_; cache_ 139 components/nacl/browser/pnacl_translation_cache.cc : cache_(cache), cache_ 173 components/nacl/browser/pnacl_translation_cache.cc int rv = cache_->backend()->OpenEntry( cache_ 182 components/nacl/browser/pnacl_translation_cache.cc int rv = cache_->backend()->CreateEntry( cache_ 239 components/nacl/browser/pnacl_translation_cache.cc cache_->OpComplete(this); cache_ 244 components/nacl/browser/pnacl_translation_cache.cc if (!cache_) cache_ 30 components/nacl/browser/pnacl_translation_cache_unittest.cc virtual void SetUp() { cache_.reset(new PnaclTranslationCache()); } cache_ 38 components/nacl/browser/pnacl_translation_cache_unittest.cc cache_.reset(); cache_ 45 components/nacl/browser/pnacl_translation_cache_unittest.cc scoped_ptr<PnaclTranslationCache> cache_; cache_ 56 components/nacl/browser/pnacl_translation_cache_unittest.cc int rv = cache_->Init(in_mem ? net::MEMORY_CACHE : net::PNACL_CACHE, cache_ 63 components/nacl/browser/pnacl_translation_cache_unittest.cc ASSERT_EQ(0, cache_->Size()); cache_ 71 components/nacl/browser/pnacl_translation_cache_unittest.cc cache_->StoreNexe(key, nexe_buf, store_cb.callback()); cache_ 111 components/nacl/browser/pnacl_translation_cache_unittest.cc cache_->GetNexe(key, load_cb.callback()); cache_ 205 components/nacl/browser/pnacl_translation_cache_unittest.cc EXPECT_EQ(1, cache_->Size()); cache_ 212 components/nacl/browser/pnacl_translation_cache_unittest.cc EXPECT_EQ(1, cache_->Size()); cache_ 220 components/nacl/browser/pnacl_translation_cache_unittest.cc EXPECT_EQ(1, cache_->Size()); cache_ 229 components/nacl/browser/pnacl_translation_cache_unittest.cc cache_->StoreNexe(test_key, large_buffer, store_cb.callback()); cache_ 232 components/nacl/browser/pnacl_translation_cache_unittest.cc EXPECT_EQ(0, cache_->Size()); cache_ 238 components/nacl/browser/pnacl_translation_cache_unittest.cc EXPECT_EQ(1, cache_->Size()); cache_ 245 components/nacl/browser/pnacl_translation_cache_unittest.cc EXPECT_EQ(1, cache_->Size()); cache_ 253 components/nacl/browser/pnacl_translation_cache_unittest.cc EXPECT_EQ(1, cache_->Size()); cache_ 262 components/nacl/browser/pnacl_translation_cache_unittest.cc EXPECT_EQ(1, cache_->Size()); cache_ 270 components/nacl/browser/pnacl_translation_cache_unittest.cc EXPECT_EQ(2, cache_->Size()); cache_ 280 components/nacl/browser/pnacl_translation_cache_unittest.cc cache_->GetNexe(test_key + "a", load_cb.callback()); cache_ 106 components/policy/core/common/cloud/component_cloud_policy_service.cc scoped_ptr<ResourceCache> cache_; cache_ 124 components/policy/core/common/cloud/component_cloud_policy_service.cc cache_(cache.Pass()), cache_ 126 components/policy/core/common/cloud/component_cloud_policy_service.cc store_(this, cache_.get()) {} cache_ 119 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc cache_ = new ResourceCache(temp_dir_.path(), loop_.message_loop_proxy()); cache_ 126 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc make_scoped_ptr(cache_), cache_ 200 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(cache_->Store( cache_ 203 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc cache_->Store("extension-policy-data", kTestExtension, kTestPolicy)); cache_ 206 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(cache_->Store( cache_ 209 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc cache_->Store("extension-policy-data", kTestExtension2, kTestPolicy)); cache_ 236 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc ResourceCache* cache_; cache_ 252 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc cache_ = new ResourceCache(temp_dir_.path(), loop_.message_loop_proxy()); cache_ 256 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc make_scoped_ptr(cache_), cache_ 334 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc cache_->LoadAllSubkeys("extension-policy", &contents); cache_ 426 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc cache_->LoadAllSubkeys("extension-policy", &contents); cache_ 509 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc cache_->LoadAllSubkeys("extension-policy", &contents); cache_ 525 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc cache_->LoadAllSubkeys("extension-policy", &contents); cache_ 534 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(cache_->Store( cache_ 536 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(cache_->Store( cache_ 127 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->LoadAllSubkeys(constants.proto_cache_key, &protos); cache_ 145 components/policy/core/common/cloud/component_cloud_policy_store.cc if (cache_->Load(constants.data_cache_key, id, &data) && cache_ 170 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->Store(constants->proto_cache_key, ns.component_id, serialized_policy); cache_ 171 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->Store(constants->data_cache_key, ns.component_id, data); cache_ 185 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->Delete(constants->proto_cache_key, ns.component_id); cache_ 186 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->Delete(constants->data_cache_key, ns.component_id); cache_ 202 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->FilterSubkeys(constants->proto_cache_key, filter); cache_ 203 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->FilterSubkeys(constants->data_cache_key, filter); cache_ 236 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->Clear(kDomains[i].proto_cache_key); cache_ 237 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->Clear(kDomains[i].data_cache_key); cache_ 133 components/policy/core/common/cloud/component_cloud_policy_store.h ResourceCache* cache_; cache_ 73 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc cache_.reset(new ResourceCache( cache_ 76 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc store_.reset(new ComponentCloudPolicyStore(&store_delegate_, cache_.get())); cache_ 110 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc scoped_ptr<ResourceCache> cache_; cache_ 173 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc store_.reset(new ComponentCloudPolicyStore(&store_delegate_, cache_.get())); cache_ 192 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc cache_->LoadAllSubkeys("extension-policy", &contents); cache_ 196 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc ComponentCloudPolicyStore another_store(&store_delegate_, cache_.get()); cache_ 203 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc cache_->LoadAllSubkeys("extension-policy", &contents); cache_ 254 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc ComponentCloudPolicyStore another_store(&store_delegate_, cache_.get()); cache_ 301 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc ComponentCloudPolicyStore another_store(&store_delegate_, cache_.get()); cache_ 318 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc ComponentCloudPolicyStore yet_another_store(&store_delegate_, cache_.get()); cache_ 76 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc scoped_ptr<ResourceCache> cache_; cache_ 89 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc cache_.reset(new ResourceCache(temp_dir_.path(), task_runner_)); cache_ 90 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc store_.reset(new ComponentCloudPolicyStore(&store_delegate_, cache_.get())); cache_ 435 content/browser/appcache/appcache_storage_impl_unittest.cc cache_ = NULL; cache_ 581 content/browser/appcache/appcache_storage_impl_unittest.cc cache_ = NULL; cache_ 633 content/browser/appcache/appcache_storage_impl_unittest.cc cache_ = new AppCache(storage(), storage()->NewCacheId()); cache_ 634 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kEntryUrl, AppCacheEntry(AppCacheEntry::EXPLICIT, 1, cache_ 643 content/browser/appcache/appcache_storage_impl_unittest.cc storage()->StoreGroupAndNewestCache(group_.get(), cache_.get(), delegate()); cache_ 650 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_EQ(cache_.get(), group_->newest_complete_cache()); cache_ 651 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_TRUE(cache_->is_complete()); cache_ 657 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_TRUE(database()->FindCache(cache_->cache_id(), &cache_record)); cache_ 729 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kEntryUrl, AppCacheEntry(AppCacheEntry::MASTER, 1, 100)); cache_ 730 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->set_update_time(now); cache_ 737 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_EQ(cache_, group_->newest_complete_cache()); cache_ 738 content/browser/appcache/appcache_storage_impl_unittest.cc storage()->StoreGroupAndNewestCache(group_.get(), cache_.get(), delegate()); cache_ 745 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_EQ(cache_, group_->newest_complete_cache()); cache_ 787 content/browser/appcache/appcache_storage_impl_unittest.cc cache_ = new AppCache(storage(), storage()->NewCacheId()); cache_ 788 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kManifestUrl, cache_ 794 content/browser/appcache/appcache_storage_impl_unittest.cc storage()->StoreGroupAndNewestCache(group_.get(), cache_.get(), delegate()); cache_ 806 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_FALSE(database()->FindCache(cache_->cache_id(), &cache_record)); cache_ 891 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kEntryUrl, AppCacheEntry(AppCacheEntry::EXPLICIT)); cache_ 898 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_FALSE(cache_->GetEntry(kEntryUrl)->IsForeign()); cache_ 904 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_TRUE(cache_->GetEntry(kEntryUrl)->IsForeign()); cache_ 905 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_TRUE(cache_->GetEntry(kEntryUrl)->IsExplicit()); cache_ 927 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kEntryUrl, AppCacheEntry(AppCacheEntry::EXPLICIT)); cache_ 934 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_FALSE(cache_->GetEntry(kEntryUrl)->IsForeign()); cache_ 935 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_TRUE(cache_->HasOneRef()); cache_ 936 content/browser/appcache/appcache_storage_impl_unittest.cc cache_ = NULL; cache_ 1003 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kEntryUrl, AppCacheEntry(AppCacheEntry::EXPLICIT, 1)); cache_ 1013 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_TRUE(cache_->HasOneRef()); cache_ 1014 content/browser/appcache/appcache_storage_impl_unittest.cc cache_ = NULL; cache_ 1053 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kEntryUrl, AppCacheEntry(AppCacheEntry::FALLBACK, 1)); cache_ 1054 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kEntryUrl2, AppCacheEntry(AppCacheEntry::FALLBACK, 2)); cache_ 1055 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->fallback_namespaces_.push_back( cache_ 1057 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->fallback_namespaces_.push_back( cache_ 1064 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->ToDatabaseRecords(group_.get(), cache_ 1083 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_TRUE(cache_->HasOneRef()); cache_ 1084 content/browser/appcache/appcache_storage_impl_unittest.cc cache_ = NULL; cache_ 1125 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kEntryUrl, AppCacheEntry(AppCacheEntry::INTERCEPT, 1)); cache_ 1126 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kEntryUrl2, AppCacheEntry(AppCacheEntry::INTERCEPT, 2)); cache_ 1127 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->intercept_namespaces_.push_back( cache_ 1130 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->intercept_namespaces_.push_back( cache_ 1138 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->ToDatabaseRecords(group_.get(), cache_ 1157 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_TRUE(cache_->HasOneRef()); cache_ 1158 content/browser/appcache/appcache_storage_impl_unittest.cc cache_ = NULL; cache_ 1196 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kEntryUrl, AppCacheEntry(AppCacheEntry::INTERCEPT, 1)); cache_ 1197 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->intercept_namespaces_.push_back( cache_ 1205 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->ToDatabaseRecords(group_.get(), cache_ 1223 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_TRUE(cache_->HasOneRef()); cache_ 1224 content/browser/appcache/appcache_storage_impl_unittest.cc cache_ = NULL; cache_ 1282 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kEntryUrl, AppCacheEntry(AppCacheEntry::FALLBACK, 1)); cache_ 1283 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->fallback_namespaces_.push_back( cache_ 1291 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->ToDatabaseRecords(group_.get(), cache_ 1309 content/browser/appcache/appcache_storage_impl_unittest.cc EXPECT_TRUE(cache_->HasOneRef()); cache_ 1310 content/browser/appcache/appcache_storage_impl_unittest.cc cache_ = NULL; cache_ 1384 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry( cache_ 1394 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry( cache_ 1404 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry( cache_ 1413 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->fallback_namespaces_.push_back( cache_ 1522 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kEntryUrl, cache_ 1524 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kEntryUrl2, AppCacheEntry(AppCacheEntry::FALLBACK, 2)); cache_ 1525 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->fallback_namespaces_.push_back( cache_ 1527 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->online_whitelist_namespaces_.push_back( cache_ 1530 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->online_whitelist_namespaces_.push_back( cache_ 1554 content/browser/appcache/appcache_storage_impl_unittest.cc cache_ = NULL; cache_ 1852 content/browser/appcache/appcache_storage_impl_unittest.cc cache_ = new AppCache(storage(), cache_id); cache_ 1853 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->AddEntry(kDefaultEntryUrl, default_entry); cache_ 1854 content/browser/appcache/appcache_storage_impl_unittest.cc cache_->set_complete(true); cache_ 1855 content/browser/appcache/appcache_storage_impl_unittest.cc group_->AddCache(cache_.get()); cache_ 1890 content/browser/appcache/appcache_storage_impl_unittest.cc scoped_refptr<AppCache> cache_; cache_ 35 content/browser/geolocation/network_location_provider.cc if (cache_.size() == kMaximumSize) { cache_ 39 content/browser/geolocation/network_location_provider.cc cache_.erase(*oldest_entry); cache_ 42 content/browser/geolocation/network_location_provider.cc DCHECK_LT(cache_.size(), kMaximumSize); cache_ 45 content/browser/geolocation/network_location_provider.cc cache_.insert(std::make_pair(key, position)); cache_ 48 content/browser/geolocation/network_location_provider.cc CHECK_EQ(cache_.size(), cache_age_list_.size()); cache_ 52 content/browser/geolocation/network_location_provider.cc DCHECK_EQ(cache_.size(), cache_age_list_.size()); cache_ 64 content/browser/geolocation/network_location_provider.cc CacheMap::const_iterator iter = cache_.find(key); cache_ 65 content/browser/geolocation/network_location_provider.cc return iter == cache_.end() ? NULL : &iter->second; cache_ 63 content/browser/geolocation/network_location_provider.h CacheMap cache_; cache_ 57 content/browser/gpu/shader_disk_cache.cc base::WeakPtr<ShaderDiskCache> cache_; cache_ 96 content/browser/gpu/shader_disk_cache.cc base::WeakPtr<ShaderDiskCache> cache_; cache_ 130 content/browser/gpu/shader_disk_cache.cc scoped_refptr<ShaderDiskCache> cache_; cache_ 143 content/browser/gpu/shader_disk_cache.cc : cache_(cache), cache_ 158 content/browser/gpu/shader_disk_cache.cc if (!cache_.get()) cache_ 161 content/browser/gpu/shader_disk_cache.cc int rv = cache_->backend()->OpenEntry( cache_ 171 content/browser/gpu/shader_disk_cache.cc if (!cache_.get()) cache_ 199 content/browser/gpu/shader_disk_cache.cc cache_->backend()->OnExternalCacheHit(key_); cache_ 200 content/browser/gpu/shader_disk_cache.cc cache_->EntryComplete(this); cache_ 206 content/browser/gpu/shader_disk_cache.cc return cache_->backend()->CreateEntry( cache_ 217 content/browser/gpu/shader_disk_cache.cc cache_->EntryComplete(this); cache_ 236 content/browser/gpu/shader_disk_cache.cc cache_->EntryComplete(this); cache_ 244 content/browser/gpu/shader_disk_cache.cc : cache_(cache), cache_ 254 content/browser/gpu/shader_disk_cache.cc if (!cache_.get()) cache_ 261 content/browser/gpu/shader_disk_cache.cc if (!cache_.get()) cache_ 279 content/browser/gpu/shader_disk_cache.cc cache_->ReadComplete(); cache_ 294 content/browser/gpu/shader_disk_cache.cc return cache_->backend()->OpenNextEntry( cache_ 342 content/browser/gpu/shader_disk_cache.cc cache_->backend()->EndEnumeration(&iter_); cache_ 359 content/browser/gpu/shader_disk_cache.cc : cache_(cache), cache_ 386 content/browser/gpu/shader_disk_cache.cc rv = cache_->SetAvailableCallback( cache_ 391 content/browser/gpu/shader_disk_cache.cc rv = cache_->Clear( cache_ 367 content/browser/storage_partition_impl_unittest.cc cache_ = ShaderCacheFactory::GetInstance()->Get(kDefaultClientId); cache_ 371 content/browser/storage_partition_impl_unittest.cc cache_ = NULL; cache_ 377 content/browser/storage_partition_impl_unittest.cc int rv = cache_->SetAvailableCallback(available_cb.callback()); cache_ 379 content/browser/storage_partition_impl_unittest.cc EXPECT_EQ(0, cache_->Size()); cache_ 381 content/browser/storage_partition_impl_unittest.cc cache_->Cache(kCacheKey, kCacheValue); cache_ 385 content/browser/storage_partition_impl_unittest.cc rv = cache_->SetCacheCompleteCallback(complete_cb.callback()); cache_ 389 content/browser/storage_partition_impl_unittest.cc size_t Size() { return cache_->Size(); } cache_ 399 content/browser/storage_partition_impl_unittest.cc scoped_refptr<ShaderDiskCache> cache_; cache_ 57 content/common/font_cache_dispatcher_win.cc if (cache_[font_name].ref_count_ == 0) { // Requested font is new to cache. cache_ 58 content/common/font_cache_dispatcher_win.cc cache_[font_name].ref_count_ = 1; cache_ 60 content/common/font_cache_dispatcher_win.cc SelectObject(cache_[font_name].dc_, cache_[font_name].old_font_); cache_ 61 content/common/font_cache_dispatcher_win.cc DeleteObject(cache_[font_name].font_); cache_ 62 content/common/font_cache_dispatcher_win.cc ReleaseDC(NULL, cache_[font_name].dc_); cache_ 64 content/common/font_cache_dispatcher_win.cc cache_[font_name].font_ = font_handle; cache_ 65 content/common/font_cache_dispatcher_win.cc cache_[font_name].dc_ = hdc; cache_ 66 content/common/font_cache_dispatcher_win.cc cache_[font_name].old_font_ = old_font; cache_ 67 content/common/font_cache_dispatcher_win.cc cache_[font_name].ref_count_ += ref_count_inc; cache_ 84 content/common/font_cache_dispatcher_win.cc element = cache_.find(*i); cache_ 85 content/common/font_cache_dispatcher_win.cc if (element != cache_.end()) { cache_ 91 content/common/font_cache_dispatcher_win.cc for (FontNameToElement::iterator i = cache_.begin(); i != cache_.end(); ) { cache_ 93 content/common/font_cache_dispatcher_win.cc cache_.erase(i++); cache_ 128 content/common/font_cache_dispatcher_win.cc std::map<base::string16, CacheElement> cache_; cache_ 77 gpu/command_buffer/service/memory_program_cache_unittest.cc : cache_(new MemoryProgramCache(kCacheSizeBytes)), cache_ 186 gpu/command_buffer/service/memory_program_cache_unittest.cc scoped_ptr<MemoryProgramCache> cache_; cache_ 205 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL, cache_ 210 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::LINK_SUCCEEDED, cache_->GetLinkedProgramStatus( cache_ 230 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL, cache_ 235 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::LINK_SUCCEEDED, cache_->GetLinkedProgramStatus( cache_ 243 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->Clear(); cache_ 245 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->LoadProgram(shader_cache_shader()); cache_ 246 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::LINK_SUCCEEDED, cache_->GetLinkedProgramStatus( cache_ 265 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL, cache_ 287 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::PROGRAM_LOAD_SUCCESS, cache_->LoadLinkedProgram( cache_ 320 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL, cache_ 342 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->Clear(); cache_ 343 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->LoadProgram(shader_cache_shader()); cache_ 345 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::PROGRAM_LOAD_SUCCESS, cache_->LoadLinkedProgram( cache_ 378 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL, cache_ 384 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::PROGRAM_LOAD_FAILURE, cache_->LoadLinkedProgram( cache_ 406 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL, cache_ 415 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::PROGRAM_LOAD_FAILURE, cache_->LoadLinkedProgram( cache_ 429 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::PROGRAM_LOAD_FAILURE, cache_->LoadLinkedProgram( cache_ 453 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->SaveLinkedProgram(kProgramId, cache_ 463 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::PROGRAM_LOAD_FAILURE, cache_->LoadLinkedProgram( cache_ 472 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::PROGRAM_LOAD_FAILURE, cache_->LoadLinkedProgram( cache_ 496 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL, cache_ 520 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->SaveLinkedProgram(kEvictingProgramId, cache_ 529 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::LINK_SUCCEEDED, cache_->GetLinkedProgramStatus( cache_ 535 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::LINK_UNKNOWN, cache_->GetLinkedProgramStatus( cache_ 555 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL, cache_ 560 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::LINK_SUCCEEDED, cache_->GetLinkedProgramStatus( cache_ 579 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL, cache_ 584 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::LINK_SUCCEEDED, cache_->GetLinkedProgramStatus( cache_ 594 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::PROGRAM_LOAD_SUCCESS, cache_->LoadLinkedProgram( cache_ 616 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL, cache_ 628 gpu/command_buffer/service/memory_program_cache_unittest.cc cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL, cache_ 634 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(ProgramCache::PROGRAM_LOAD_SUCCESS, cache_->LoadLinkedProgram( cache_ 85 gpu/command_buffer/service/program_cache_unittest.cc cache_(new NoBackendProgramCache()) { } cache_ 88 gpu/command_buffer/service/program_cache_unittest.cc scoped_ptr<NoBackendProgramCache> cache_; cache_ 98 gpu/command_buffer/service/program_cache_unittest.cc cache_->GetLinkedProgramStatus( cache_ 100 gpu/command_buffer/service/program_cache_unittest.cc cache_->SaySuccessfullyCached(shader_a, NULL, shader_b, NULL, NULL); cache_ 107 gpu/command_buffer/service/program_cache_unittest.cc cache_->GetLinkedProgramStatus( cache_ 114 gpu/command_buffer/service/program_cache_unittest.cc cache_->SaySuccessfullyCached(shader1, NULL, shader2, NULL, NULL); cache_ 118 gpu/command_buffer/service/program_cache_unittest.cc cache_->GetLinkedProgramStatus(shader1, NULL, shader2, NULL, NULL)); cache_ 124 gpu/command_buffer/service/program_cache_unittest.cc cache_->SaySuccessfullyCached(shader1, NULL, shader2, NULL, NULL); cache_ 128 gpu/command_buffer/service/program_cache_unittest.cc cache_->GetLinkedProgramStatus(shader1, NULL, shader2, NULL, NULL)); cache_ 134 gpu/command_buffer/service/program_cache_unittest.cc cache_->SaySuccessfullyCached(shader1, NULL, shader2, NULL, NULL); cache_ 137 gpu/command_buffer/service/program_cache_unittest.cc cache_->ComputeShaderHash(shader1, NULL, a_sha); cache_ 138 gpu/command_buffer/service/program_cache_unittest.cc cache_->ComputeShaderHash(shader2, NULL, b_sha); cache_ 141 gpu/command_buffer/service/program_cache_unittest.cc cache_->ComputeProgramHash(a_sha, cache_ 145 gpu/command_buffer/service/program_cache_unittest.cc cache_->Evict(std::string(sha, ProgramCache::kHashLength)); cache_ 147 gpu/command_buffer/service/program_cache_unittest.cc cache_->GetLinkedProgramStatus(shader1, NULL, shader2, NULL, NULL)); cache_ 154 gpu/command_buffer/service/program_cache_unittest.cc cache_->SaySuccessfullyCached(shader1, NULL, shader2, NULL, NULL); cache_ 155 gpu/command_buffer/service/program_cache_unittest.cc cache_->SaySuccessfullyCached(shader1, NULL, shader3, NULL, NULL); cache_ 160 gpu/command_buffer/service/program_cache_unittest.cc cache_->ComputeShaderHash(shader1, NULL, a_sha); cache_ 161 gpu/command_buffer/service/program_cache_unittest.cc cache_->ComputeShaderHash(shader2, NULL, b_sha); cache_ 162 gpu/command_buffer/service/program_cache_unittest.cc cache_->ComputeShaderHash(shader3, NULL, c_sha); cache_ 165 gpu/command_buffer/service/program_cache_unittest.cc cache_->ComputeProgramHash(a_sha, cache_ 169 gpu/command_buffer/service/program_cache_unittest.cc cache_->Evict(std::string(sha, ProgramCache::kHashLength)); cache_ 171 gpu/command_buffer/service/program_cache_unittest.cc cache_->GetLinkedProgramStatus(shader1, NULL, shader2, NULL, NULL)); cache_ 173 gpu/command_buffer/service/program_cache_unittest.cc cache_->GetLinkedProgramStatus(shader1, NULL, shader3, NULL, NULL)); cache_ 176 gpu/command_buffer/service/program_cache_unittest.cc cache_->ComputeProgramHash(a_sha, cache_ 180 gpu/command_buffer/service/program_cache_unittest.cc cache_->Evict(std::string(sha, ProgramCache::kHashLength)); cache_ 182 gpu/command_buffer/service/program_cache_unittest.cc cache_->GetLinkedProgramStatus(shader1, NULL, shader2, NULL, NULL)); cache_ 184 gpu/command_buffer/service/program_cache_unittest.cc cache_->GetLinkedProgramStatus(shader1, NULL, shader3, NULL, NULL)); cache_ 191 gpu/command_buffer/service/program_cache_unittest.cc cache_->SaySuccessfullyCached(shader1, NULL, shader2, NULL, NULL); cache_ 192 gpu/command_buffer/service/program_cache_unittest.cc cache_->SaySuccessfullyCached(shader1, NULL, shader3, NULL, NULL); cache_ 193 gpu/command_buffer/service/program_cache_unittest.cc cache_->Clear(); cache_ 195 gpu/command_buffer/service/program_cache_unittest.cc cache_->GetLinkedProgramStatus(shader1, NULL, shader2, NULL, NULL)); cache_ 197 gpu/command_buffer/service/program_cache_unittest.cc cache_->GetLinkedProgramStatus(shader1, NULL, shader3, NULL, NULL)); cache_ 1582 gpu/command_buffer/service/program_manager_unittest.cc : cache_(new MockProgramCache()), cache_ 1583 gpu/command_buffer/service/program_manager_unittest.cc manager_(cache_.get(), kMaxVaryingVectors), cache_ 1625 gpu/command_buffer/service/program_manager_unittest.cc cache_->LinkedProgramCacheSuccess( cache_ 1643 gpu/command_buffer/service/program_manager_unittest.cc EXPECT_CALL(*cache_.get(), SaveLinkedProgram( cache_ 1663 gpu/command_buffer/service/program_manager_unittest.cc EXPECT_CALL(*cache_.get(), SaveLinkedProgram( cache_ 1687 gpu/command_buffer/service/program_manager_unittest.cc EXPECT_CALL(*cache_.get(), cache_ 1762 gpu/command_buffer/service/program_manager_unittest.cc scoped_ptr<MockProgramCache> cache_; cache_ 14 gpu/command_buffer/service/shader_translator_cache.cc DCHECK(cache_.empty()); cache_ 18 gpu/command_buffer/service/shader_translator_cache.cc Cache::iterator it = cache_.begin(); cache_ 19 gpu/command_buffer/service/shader_translator_cache.cc while (it != cache_.end()) { cache_ 21 gpu/command_buffer/service/shader_translator_cache.cc cache_.erase(it); cache_ 41 gpu/command_buffer/service/shader_translator_cache.cc Cache::iterator it = cache_.find(params); cache_ 42 gpu/command_buffer/service/shader_translator_cache.cc if (it != cache_.end()) cache_ 49 gpu/command_buffer/service/shader_translator_cache.cc cache_[params] = translator; cache_ 83 gpu/command_buffer/service/shader_translator_cache.h Cache cache_; cache_ 25 native_client_sdk/src/libraries/nacl_io/dir_node.cc cache_(stat_.st_ino, kParentDirIno), cache_ 62 native_client_sdk/src/libraries/nacl_io/dir_node.cc return cache_.GetDents(offs, pdir, size, out_bytes); cache_ 121 native_client_sdk/src/libraries/nacl_io/dir_node.cc cache_.AddDirent(ino, name.c_str(), name.length()); cache_ 129 native_client_sdk/src/libraries/nacl_io/dir_node.cc cache_.Reset(); cache_ 58 native_client_sdk/src/libraries/nacl_io/dir_node.h GetDentsHelper cache_; cache_ 94 net/base/expiring_cache.h : cache_(cache), cache_ 95 net/base/expiring_cache.h it_(cache_.entries_.begin()) { cache_ 99 net/base/expiring_cache.h bool HasNext() const { return it_ != cache_.entries_.end(); } cache_ 107 net/base/expiring_cache.h const ExpiringCache& cache_; cache_ 393 net/cert/multi_threaded_cert_verifier.cc : cache_(kMaxCacheEntries), cache_ 438 net/cert/multi_threaded_cert_verifier.cc cache_.Get(key, CacheValidityPeriod(base::Time::Now())); cache_ 542 net/cert/multi_threaded_cert_verifier.cc cache_.Put( cache_ 143 net/cert/multi_threaded_cert_verifier.h void ClearCache() { cache_.Clear(); } cache_ 144 net/cert/multi_threaded_cert_verifier.h size_t GetCacheSize() const { return cache_.size(); } cache_ 150 net/cert/multi_threaded_cert_verifier.h CertVerifierCache cache_; cache_ 107 net/cert/x509_certificate.cc CertMap cache_; cache_ 124 net/cert/x509_certificate.cc CertMap::iterator pos = cache_.find(fingerprint); cache_ 125 net/cert/x509_certificate.cc if (pos == cache_.end()) { cache_ 132 net/cert/x509_certificate.cc pos = cache_.insert(cache_value).first; cache_ 168 net/cert/x509_certificate.cc CertMap::iterator pos = cache_.find(fingerprint); cache_ 169 net/cert/x509_certificate.cc if (pos == cache_.end()) cache_ 182 net/cert/x509_certificate.cc cache_.erase(pos); cache_ 139 net/disk_cache/backend_unittest.cc int rv = cache_->CreateEntry("some key", &entry, cb->callback()); cache_ 251 net/disk_cache/backend_unittest.cc return key_pool->size() == implicit_cast<size_t>(cache_->GetEntryCount()); cache_ 298 net/disk_cache/backend_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 304 net/disk_cache/backend_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 307 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 313 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 320 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 513 net/disk_cache/backend_unittest.cc cache_.reset(); cache_ 606 net/disk_cache/backend_unittest.cc int rv = cache_->CreateEntry("some key", &entry, cb.callback()); cache_ 612 net/disk_cache/backend_unittest.cc cache_.reset(); cache_ 647 net/disk_cache/backend_unittest.cc int rv = cache_->CreateEntry("some key", &entry, cb.callback()); cache_ 650 net/disk_cache/backend_unittest.cc cache_.reset(); cache_ 782 net/disk_cache/backend_unittest.cc EXPECT_EQ(100, cache_->GetEntryCount()); cache_ 801 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 955 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 1005 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 1009 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 1052 net/disk_cache/backend_unittest.cc EXPECT_EQ(kNumEntries, cache_->GetEntryCount()); cache_ 1082 net/disk_cache/backend_unittest.cc EXPECT_EQ(kNumEntries / 2, cache_->GetEntryCount()); cache_ 1129 net/disk_cache/backend_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 1143 net/disk_cache/backend_unittest.cc EXPECT_GE(1, cache_->GetEntryCount()); cache_ 1189 net/disk_cache/backend_unittest.cc EXPECT_EQ(33, cache_->GetEntryCount()); cache_ 1207 net/disk_cache/backend_unittest.cc EXPECT_GE(30, cache_->GetEntryCount()); cache_ 1234 net/disk_cache/backend_unittest.cc EXPECT_EQ(kNumEntries, cache_->GetEntryCount()); cache_ 1322 net/disk_cache/backend_unittest.cc cache_->EndEnumeration(&iter); cache_ 1337 net/disk_cache/backend_unittest.cc cache_->EndEnumeration(&iter); cache_ 1396 net/disk_cache/backend_unittest.cc cache_->EndEnumeration(&iter); cache_ 1421 net/disk_cache/backend_unittest.cc ASSERT_EQ(2, cache_->GetEntryCount()); cache_ 1434 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 1464 net/disk_cache/backend_unittest.cc EXPECT_EQ(kNumEntries, cache_->GetEntryCount()); cache_ 1501 net/disk_cache/backend_unittest.cc cache_->EndEnumeration(&iter1); cache_ 1502 net/disk_cache/backend_unittest.cc cache_->EndEnumeration(&iter2); cache_ 1536 net/disk_cache/backend_unittest.cc ASSERT_EQ(4, cache_->GetEntryCount()); cache_ 1538 net/disk_cache/backend_unittest.cc ASSERT_EQ(4, cache_->GetEntryCount()); cache_ 1541 net/disk_cache/backend_unittest.cc ASSERT_EQ(2, cache_->GetEntryCount()); cache_ 1566 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 1576 net/disk_cache/backend_unittest.cc EXPECT_EQ(3, cache_->GetEntryCount()); cache_ 1583 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 1589 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 1622 net/disk_cache/backend_unittest.cc ASSERT_EQ(4, cache_->GetEntryCount()); cache_ 1624 net/disk_cache/backend_unittest.cc ASSERT_EQ(2, cache_->GetEntryCount()); cache_ 1630 net/disk_cache/backend_unittest.cc ASSERT_EQ(1, cache_->GetEntryCount()); cache_ 1655 net/disk_cache/backend_unittest.cc EXPECT_EQ(3, cache_->GetEntryCount()); cache_ 1660 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 1667 net/disk_cache/backend_unittest.cc EXPECT_EQ(9, cache_->GetEntryCount()); cache_ 1672 net/disk_cache/backend_unittest.cc EXPECT_EQ(3, cache_->GetEntryCount()); cache_ 1693 net/disk_cache/backend_unittest.cc ASSERT_EQ(num_entries + 1, cache_->GetEntryCount()); cache_ 1699 net/disk_cache/backend_unittest.cc int actual = cache_->GetEntryCount(); cache_ 1707 net/disk_cache/backend_unittest.cc cache_.reset(); cache_ 1977 net/disk_cache/backend_unittest.cc &cache_, cache_ 1982 net/disk_cache/backend_unittest.cc cache_.reset(); cache_ 2097 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 2157 net/disk_cache/backend_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 2161 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 2167 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 2201 net/disk_cache/backend_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 2205 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 2212 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 2248 net/disk_cache/backend_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 2252 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 2254 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 2268 net/disk_cache/backend_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 2317 net/disk_cache/backend_unittest.cc EXPECT_EQ(3, cache_->GetEntryCount()); cache_ 2326 net/disk_cache/backend_unittest.cc EXPECT_EQ(3, cache_->GetEntryCount()); cache_ 2328 net/disk_cache/backend_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 2330 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 2384 net/disk_cache/backend_unittest.cc EXPECT_EQ(3, cache_->GetEntryCount()); cache_ 2393 net/disk_cache/backend_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 2395 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 2397 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 2449 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 2493 net/disk_cache/backend_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 2497 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 2539 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 2546 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 2583 net/disk_cache/backend_unittest.cc EXPECT_EQ(8, cache_->GetEntryCount()); cache_ 2596 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 2635 net/disk_cache/backend_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 2645 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 2688 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 2711 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 2768 net/disk_cache/backend_unittest.cc cache_->GetStats(&stats); cache_ 2774 net/disk_cache/backend_unittest.cc cache_.reset(); cache_ 2779 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 2782 net/disk_cache/backend_unittest.cc cache_->GetStats(&stats); cache_ 2800 net/disk_cache/backend_unittest.cc ASSERT_EQ(4, cache_->GetEntryCount()); cache_ 2802 net/disk_cache/backend_unittest.cc ASSERT_EQ(0, cache_->GetEntryCount()); cache_ 2813 net/disk_cache/backend_unittest.cc ASSERT_EQ(0, cache_->GetEntryCount()); cache_ 2827 net/disk_cache/backend_unittest.cc ASSERT_EQ(2, cache_->GetEntryCount()); cache_ 2829 net/disk_cache/backend_unittest.cc ASSERT_EQ(0, cache_->GetEntryCount()); cache_ 2860 net/disk_cache/backend_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 2867 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 3108 net/disk_cache/backend_unittest.cc cache_->OnExternalCacheHit("key0"); cache_ 3113 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 3131 net/disk_cache/backend_unittest.cc cache_->OnExternalCacheHit("key0"); cache_ 3136 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 3143 net/disk_cache/backend_unittest.cc cache_.reset(new disk_cache::TracingCacheBackend(cache_.Pass())); cache_ 3145 net/disk_cache/backend_unittest.cc EXPECT_EQ(net::DISK_CACHE, cache_->GetCacheType()); cache_ 3147 net/disk_cache/backend_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 3163 net/disk_cache/backend_unittest.cc EXPECT_EQ(1, cache_->GetEntryCount()); cache_ 3349 net/disk_cache/backend_unittest.cc cache_.reset(); cache_ 3381 net/disk_cache/backend_unittest.cc cache_.reset(); cache_ 3415 net/disk_cache/backend_unittest.cc cache_->EndEnumeration(&iter); cache_ 3434 net/disk_cache/backend_unittest.cc cache_->EndEnumeration(&iter); cache_ 3464 net/disk_cache/backend_unittest.cc cache_->EndEnumeration(&iter); cache_ 3496 net/disk_cache/backend_unittest.cc implicit_cast<size_t>(cache_->GetEntryCount())); cache_ 3503 net/disk_cache/backend_unittest.cc cache_->EndEnumeration(&iter); cache_ 79 net/disk_cache/disk_cache_test_base.cc ASSERT_TRUE(NULL != cache_); cache_ 81 net/disk_cache/disk_cache_test_base.cc ASSERT_EQ(0, cache_->GetEntryCount()); cache_ 92 net/disk_cache/disk_cache_test_base.cc cache_.reset(); cache_ 118 net/disk_cache/disk_cache_test_base.cc int rv = cache_->OpenEntry(key, entry, cb.callback()); cache_ 125 net/disk_cache/disk_cache_test_base.cc int rv = cache_->CreateEntry(key, entry, cb.callback()); cache_ 131 net/disk_cache/disk_cache_test_base.cc int rv = cache_->DoomEntry(key, cb.callback()); cache_ 137 net/disk_cache/disk_cache_test_base.cc int rv = cache_->DoomAllEntries(cb.callback()); cache_ 144 net/disk_cache/disk_cache_test_base.cc int rv = cache_->DoomEntriesBetween(initial_time, end_time, cb.callback()); cache_ 150 net/disk_cache/disk_cache_test_base.cc int rv = cache_->DoomEntriesSince(initial_time, cb.callback()); cache_ 157 net/disk_cache/disk_cache_test_base.cc int rv = cache_->OpenNextEntry(iter, next_entry, cb.callback()); cache_ 246 net/disk_cache/disk_cache_test_base.cc cache_.reset(); cache_ 260 net/disk_cache/disk_cache_test_base.cc cache_.reset(mem_cache_); cache_ 261 net/disk_cache/disk_cache_test_base.cc ASSERT_TRUE(cache_); cache_ 297 net/disk_cache/disk_cache_test_base.cc cache_ = simple_backend.PassAs<disk_cache::Backend>(); cache_ 311 net/disk_cache/disk_cache_test_base.cc cache_.reset(cache_impl_); cache_ 312 net/disk_cache/disk_cache_test_base.cc ASSERT_TRUE(cache_); cache_ 149 net/disk_cache/disk_cache_test_base.h scoped_ptr<disk_cache::Backend> cache_; cache_ 153 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 354 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 434 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 594 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 1466 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 1530 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 1971 net/disk_cache/entry_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 1973 net/disk_cache/entry_unittest.cc EXPECT_EQ(3, cache_->GetEntryCount()); cache_ 2012 net/disk_cache/entry_unittest.cc EXPECT_EQ(2, cache_->GetEntryCount()); cache_ 2014 net/disk_cache/entry_unittest.cc EXPECT_EQ(15, cache_->GetEntryCount()); cache_ 2030 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 2032 net/disk_cache/entry_unittest.cc if (5 == cache_->GetEntryCount()) { cache_ 2039 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, cache_->GetEntryCount()); cache_ 2062 net/disk_cache/entry_unittest.cc : cache_(cache.Pass()) { cache_ 2067 net/disk_cache/entry_unittest.cc cache_.reset(); cache_ 2071 net/disk_cache/entry_unittest.cc scoped_ptr<disk_cache::Backend> cache_; cache_ 2096 net/disk_cache/entry_unittest.cc EXPECT_EQ(9, cache_->GetEntryCount()); cache_ 2099 net/disk_cache/entry_unittest.cc disk_cache::Backend* cache = cache_.get(); cache_ 2100 net/disk_cache/entry_unittest.cc SparseTestCompletionCallback cb(cache_.Pass()); cache_ 2218 net/disk_cache/entry_unittest.cc EXPECT_EQ(4, cache_->GetEntryCount()); cache_ 2237 net/disk_cache/entry_unittest.cc EXPECT_EQ(4, cache_->GetEntryCount()); cache_ 2250 net/disk_cache/entry_unittest.cc EXPECT_EQ(3, cache_->GetEntryCount()); cache_ 2749 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, cache_ 2825 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, cache_ 2833 net/disk_cache/entry_unittest.cc cache_->OpenEntry(key, &entry2, cache_ 2859 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); cache_ 2866 net/disk_cache/entry_unittest.cc cache_->OpenEntry(key, &entry2, cb.callback())); cache_ 2893 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); cache_ 2912 net/disk_cache/entry_unittest.cc cache_->OpenEntry(key, &entry2, cb.callback())); cache_ 2918 net/disk_cache/entry_unittest.cc cache_->OpenEntry(key, &entry3, cb.callback())); cache_ 2959 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); cache_ 2994 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); cache_ 3026 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); cache_ 3066 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); cache_ 3069 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::ERR_IO_PENDING, cache_->DoomEntry(key, cb.callback())); cache_ 3105 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry1, create_callback.callback()))); cache_ 3111 net/disk_cache/entry_unittest.cc cache_->DoomEntry(key, doom_callback.callback())); cache_ 3116 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry2, create_callback.callback()))); cache_ 3196 net/disk_cache/entry_unittest.cc EXPECT_EQ(net::OK, cache_->CreateEntry(key, &entry, cb.callback())); cache_ 3328 net/disk_cache/entry_unittest.cc cache_->CreateEntry(key, &entry, net::CompletionCallback())); cache_ 3378 net/disk_cache/entry_unittest.cc int rv1 = cache_->OpenEntry("key", &entry1, cb1.callback()); cache_ 3379 net/disk_cache/entry_unittest.cc int rv2 = cache_->CreateEntry("key", &entry2, cb2.callback()); cache_ 3683 net/disk_cache/entry_unittest.cc cache_->DoomEntry(key, callback.callback()); cache_ 1795 net/dns/host_resolver_impl.cc : cache_(cache.Pass()), cache_ 2006 net/dns/host_resolver_impl.cc return cache_.get(); cache_ 2056 net/dns/host_resolver_impl.cc if (!info.allow_cached_response() || !cache_.get()) cache_ 2059 net/dns/host_resolver_impl.cc const HostCache::Entry* cache_entry = cache_->Lookup( cache_ 2124 net/dns/host_resolver_impl.cc if (cache_.get()) cache_ 2125 net/dns/host_resolver_impl.cc cache_->Set(key, entry, base::TimeTicks::Now(), ttl); cache_ 2258 net/dns/host_resolver_impl.cc if (cache_.get()) cache_ 2259 net/dns/host_resolver_impl.cc cache_->clear(); cache_ 2296 net/dns/host_resolver_impl.cc if (cache_.get()) cache_ 2297 net/dns/host_resolver_impl.cc cache_->clear(); cache_ 245 net/dns/host_resolver_impl.h scoped_ptr<HostCache> cache_; cache_ 142 net/dns/mdns_cache_unittest.cc MDnsCache cache_; cache_ 158 net/dns/mdns_cache_unittest.cc EXPECT_EQ(MDnsCache::RecordAdded, cache_.UpdateDnsRecord(record1.Pass())); cache_ 160 net/dns/mdns_cache_unittest.cc EXPECT_EQ(MDnsCache::RecordAdded, cache_.UpdateDnsRecord(record2.Pass())); cache_ 162 net/dns/mdns_cache_unittest.cc cache_.FindDnsRecords(ARecordRdata::kType, "ghs.l.google.com", &results, cache_ 171 net/dns/mdns_cache_unittest.cc cache_.FindDnsRecords(PtrRecordRdata::kType, "ghs.l.google.com", &results, cache_ 195 net/dns/mdns_cache_unittest.cc EXPECT_EQ(MDnsCache::RecordAdded, cache_.UpdateDnsRecord(record1.Pass())); cache_ 196 net/dns/mdns_cache_unittest.cc EXPECT_EQ(MDnsCache::RecordAdded, cache_.UpdateDnsRecord(record2.Pass())); cache_ 198 net/dns/mdns_cache_unittest.cc cache_.FindDnsRecords(ARecordRdata::kType, "ghs.l.google.com", &results, cache_ 203 net/dns/mdns_cache_unittest.cc EXPECT_EQ(default_time_ + ttl2, cache_.next_expiration()); cache_ 206 net/dns/mdns_cache_unittest.cc cache_.FindDnsRecords(ARecordRdata::kType, "ghs.l.google.com", &results, cache_ 213 net/dns/mdns_cache_unittest.cc cache_.CleanupRecords(default_time_ + ttl2, base::Bind( cache_ 219 net/dns/mdns_cache_unittest.cc EXPECT_EQ(default_time_ + ttl1, cache_.next_expiration()); cache_ 220 net/dns/mdns_cache_unittest.cc cache_.FindDnsRecords(ARecordRdata::kType, "ghs.l.google.com", &results, cache_ 240 net/dns/mdns_cache_unittest.cc EXPECT_EQ(MDnsCache::RecordAdded, cache_.UpdateDnsRecord(record1.Pass())); cache_ 242 net/dns/mdns_cache_unittest.cc cache_.UpdateDnsRecord(record2.Pass())); cache_ 260 net/dns/mdns_cache_unittest.cc EXPECT_EQ(MDnsCache::RecordAdded, cache_.UpdateDnsRecord(record1.Pass())); cache_ 261 net/dns/mdns_cache_unittest.cc EXPECT_EQ(MDnsCache::NoChange, cache_.UpdateDnsRecord(record2.Pass())); cache_ 280 net/dns/mdns_cache_unittest.cc EXPECT_EQ(base::Time(), cache_.next_expiration()); cache_ 281 net/dns/mdns_cache_unittest.cc EXPECT_EQ(MDnsCache::RecordAdded, cache_.UpdateDnsRecord(record2.Pass())); cache_ 282 net/dns/mdns_cache_unittest.cc EXPECT_EQ(default_time_ + ttl2, cache_.next_expiration()); cache_ 283 net/dns/mdns_cache_unittest.cc EXPECT_EQ(MDnsCache::NoChange, cache_.UpdateDnsRecord(record1.Pass())); cache_ 284 net/dns/mdns_cache_unittest.cc EXPECT_EQ(default_time_ + ttl1, cache_.next_expiration()); cache_ 309 net/dns/mdns_cache_unittest.cc EXPECT_EQ(base::Time(), cache_.next_expiration()); cache_ 310 net/dns/mdns_cache_unittest.cc EXPECT_EQ(MDnsCache::NoChange, cache_.UpdateDnsRecord(record_goodbye.Pass())); cache_ 311 net/dns/mdns_cache_unittest.cc EXPECT_EQ(base::Time(), cache_.next_expiration()); cache_ 313 net/dns/mdns_cache_unittest.cc cache_.UpdateDnsRecord(record_hello.Pass())); cache_ 314 net/dns/mdns_cache_unittest.cc EXPECT_EQ(default_time_ + ttl, cache_.next_expiration()); cache_ 316 net/dns/mdns_cache_unittest.cc cache_.UpdateDnsRecord(record_goodbye2.Pass())); cache_ 318 net/dns/mdns_cache_unittest.cc cache_.next_expiration()); cache_ 332 net/dns/mdns_cache_unittest.cc EXPECT_EQ(MDnsCache::RecordAdded, cache_.UpdateDnsRecord(record1.Pass())); cache_ 333 net/dns/mdns_cache_unittest.cc EXPECT_EQ(MDnsCache::RecordAdded, cache_.UpdateDnsRecord(record2.Pass())); cache_ 335 net/dns/mdns_cache_unittest.cc cache_.FindDnsRecords(0, "ghs.l.google.com", &results, default_time_); cache_ 357 net/dns/mdns_cache_unittest.cc EXPECT_EQ(MDnsCache::RecordAdded, cache_.UpdateDnsRecord(record1.Pass())); cache_ 359 net/dns/mdns_cache_unittest.cc cache_.FindDnsRecords(dns_protocol::kTypeCNAME, "codereview.chromium.org", cache_ 365 net/dns/mdns_cache_unittest.cc cache_.RemoveRecord(results.front()); cache_ 369 net/dns/mdns_cache_unittest.cc cache_.FindDnsRecords(dns_protocol::kTypeCNAME, "codereview.chromium.org", cache_ 240 net/dns/mdns_client_impl.cc MDnsCache::UpdateType update = cache_.UpdateDnsRecord(record.Pass()); cache_ 243 net/dns/mdns_client_impl.cc ScheduleCleanup(cache_.next_expiration()); cache_ 250 net/dns/mdns_client_impl.cc const RecordParsed* record = cache_.LookupKey(i->first); cache_ 273 net/dns/mdns_client_impl.cc cache_.FindDnsRecords(0, record->name(), &records_to_remove, cache_ 281 net/dns/mdns_client_impl.cc scoped_ptr<const RecordParsed> record_removed = cache_.RemoveRecord((*i)); cache_ 375 net/dns/mdns_client_impl.cc cache_.CleanupRecords(base::Time::Now(), base::Bind( cache_ 378 net/dns/mdns_client_impl.cc ScheduleCleanup(cache_.next_expiration()); cache_ 390 net/dns/mdns_client_impl.cc cache_.FindDnsRecords(rrtype, name, records, base::Time::Now()); cache_ 157 net/dns/mdns_client_impl.h MDnsCache cache_; cache_ 125 net/dns/mock_host_resolver.cc return cache_.get(); cache_ 149 net/dns/mock_host_resolver.cc cache_.reset(new HostCache(kMaxCacheEntries)); cache_ 163 net/dns/mock_host_resolver.cc if (cache_.get() && info.allow_cached_response()) { cache_ 167 net/dns/mock_host_resolver.cc const HostCache::Entry* entry = cache_->Lookup(key, base::TimeTicks::Now()); cache_ 186 net/dns/mock_host_resolver.cc if (cache_.get()) { cache_ 194 net/dns/mock_host_resolver.cc cache_->Set(key, HostCache::Entry(rv, addr), base::TimeTicks::Now(), ttl); cache_ 134 net/dns/mock_host_resolver.h scoped_ptr<HostCache> cache_; cache_ 547 net/http/http_auth_cache_unittest.cc cache_.Add(origin_, cache_ 557 net/http/http_auth_cache_unittest.cc cache_.Lookup( cache_ 569 net/http/http_auth_cache_unittest.cc cache_.LookupByPath(origin_, GeneratePath(realm_i, path_i)); cache_ 579 net/http/http_auth_cache_unittest.cc HttpAuthCache cache_; cache_ 190 net/http/http_cache_transaction.cc cache_(cache->AsWeakPtr()), cache_ 226 net/http/http_cache_transaction.cc if (cache_) { cache_ 237 net/http/http_cache_transaction.cc cache_->DoneWithEntry(entry_, this, cancel_request); cache_ 239 net/http/http_cache_transaction.cc cache_->RemovePendingTransaction(this); cache_ 249 net/http/http_cache_transaction.cc if (!cache_.get() || !entry_) cache_ 305 net/http/http_cache_transaction.cc if (!cache_.get()) cache_ 329 net/http/http_cache_transaction.cc if (!cache_.get()) cache_ 348 net/http/http_cache_transaction.cc if (!cache_.get()) cache_ 368 net/http/http_cache_transaction.cc if (!cache_.get()) cache_ 396 net/http/http_cache_transaction.cc if (!cache_.get()) cache_ 452 net/http/http_cache_transaction.cc if (cache_.get() && entry_ && (mode_ & WRITE) && network_trans_.get() && cache_ 475 net/http/http_cache_transaction.cc if (cache_.get() && entry_) { cache_ 483 net/http/http_cache_transaction.cc cache_->DoneReadingFromEntry(entry_, this); cache_ 504 net/http/http_cache_transaction.cc if (cache_.get()) cache_ 505 net/http/http_cache_transaction.cc return cache_->GetLoadStateForPendingTransaction(this); cache_ 815 net/http/http_cache_transaction.cc return cache_->GetBackendForTransaction(this); cache_ 825 net/http/http_cache_transaction.cc cache_key_ = cache_->GenerateCacheKey(request_); cache_ 882 net/http/http_cache_transaction.cc int rv = cache_->network_layer_->CreateTransaction(priority_, cache_ 901 net/http/http_cache_transaction.cc if (!cache_.get()) cache_ 1016 net/http/http_cache_transaction.cc int ret = cache_->DoomEntry(cache_key_, NULL); cache_ 1019 net/http/http_cache_transaction.cc cache_->DoneWritingToEntry(entry_, true); cache_ 1026 net/http/http_cache_transaction.cc cache_->DoomMainEntryForUrl(request_->url); cache_ 1061 net/http/http_cache_transaction.cc if (!cache_.get()) cache_ 1076 net/http/http_cache_transaction.cc if (!cache_.get()) cache_ 1094 net/http/http_cache_transaction.cc return cache_->OpenEntry(cache_key_, &new_entry_, this); cache_ 1131 net/http/http_cache_transaction.cc if (cache_->mode() == PLAYBACK) cache_ 1144 net/http/http_cache_transaction.cc return cache_->CreateEntry(cache_key_, &new_entry_, this); cache_ 1184 net/http/http_cache_transaction.cc return cache_->DoomEntry(cache_key_, this); cache_ 1203 net/http/http_cache_transaction.cc return cache_->AddTransactionToEntry(new_entry_, this); cache_ 1260 net/http/http_cache_transaction.cc cache_->DoneReadingFromEntry(entry_, this); cache_ 1293 net/http/http_cache_transaction.cc int ret = cache_->DoomEntry(cache_key_, NULL); cache_ 1320 net/http/http_cache_transaction.cc cache_->ConvertWriterToReader(entry_); cache_ 1561 net/http/http_cache_transaction.cc if (!cache_.get()) cache_ 1589 net/http/http_cache_transaction.cc if (!cache_.get()) cache_ 1603 net/http/http_cache_transaction.cc cache_->DoneReadingFromEntry(entry_, this); cache_ 1630 net/http/http_cache_transaction.cc if (!cache_.get()) cache_ 1673 net/http/http_cache_transaction.cc switch (cache_->mode()) { cache_ 1775 net/http/http_cache_transaction.cc if (!cache_->disk_cache_.get()) cache_ 1780 net/http/http_cache_transaction.cc if (cache_->mode() == RECORD || cache_->mode() == PLAYBACK) cache_ 1982 net/http/http_cache_transaction.cc if (cache_->mode() == net::HttpCache::PLAYBACK) cache_ 2200 net/http/http_cache_transaction.cc cache_->DoneReadingFromEntry(entry_, this); cache_ 2225 net/http/http_cache_transaction.cc cache_->ConvertWriterToReader(entry_); cache_ 2278 net/http/http_cache_transaction.cc if ((cache_->mode() != RECORD && cache_ 2289 net/http/http_cache_transaction.cc bool skip_transient_headers = (cache_->mode() != RECORD); cache_ 2319 net/http/http_cache_transaction.cc cache_->DoneWritingToEntry(entry_, success); cache_ 2336 net/http/http_cache_transaction.cc if (cache_.get()) cache_ 2337 net/http/http_cache_transaction.cc cache_->DoomActiveEntry(cache_key_); cache_ 2342 net/http/http_cache_transaction.cc cache_->DoneWithEntry(entry_, this, false); cache_ 2355 net/http/http_cache_transaction.cc int rv = cache_->DoomEntry(cache_key_, NULL); cache_ 2357 net/http/http_cache_transaction.cc cache_->DoneWithEntry(entry_, this, false); cache_ 2450 net/http/http_cache_transaction.cc if (!cache_.get() || !cache_->GetCurrentBackend() || cache_ 2451 net/http/http_cache_transaction.cc cache_->GetCurrentBackend()->GetCacheType() != DISK_CACHE || cache_ 2452 net/http/http_cache_transaction.cc cache_->mode() != NORMAL || request_->method != "GET") { cache_ 394 net/http/http_cache_transaction.h base::WeakPtr<HttpCache> cache_; cache_ 90 net/http/http_cache_unittest.cc : cache_(cache), cache_ 99 net/http/http_cache_unittest.cc delete cache_; cache_ 103 net/http/http_cache_unittest.cc MockHttpCache* cache_; cache_ 112 net/socket/ssl_session_cache_openssl_unittest.cc cache_.Reset(ctx_.get(), kDefaultConfig); cache_ 117 net/socket/ssl_session_cache_openssl_unittest.cc cache_.Reset(ctx_.get(), config); cache_ 147 net/socket/ssl_session_cache_openssl_unittest.cc SSLSessionCacheOpenSSL cache_; cache_ 160 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(0U, cache_.size()); cache_ 166 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(0U, cache_.size()); cache_ 168 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(1U, cache_.size()); cache_ 170 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(1U, cache_.size()); cache_ 182 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(n + 1, cache_.size()); cache_ 196 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(kNumItems, cache_.size()); cache_ 198 net/socket/ssl_session_cache_openssl_unittest.cc cache_.Flush(); cache_ 199 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(0U, cache_.size()); cache_ 207 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_FALSE(cache_.SetSSLSession(ssl.get())); cache_ 216 net/socket/ssl_session_cache_openssl_unittest.cc cache_.MarkSSLSessionAsGood(ssl.get()); cache_ 223 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_TRUE(cache_.SetSSLSession(ssl2.get())); cache_ 233 net/socket/ssl_session_cache_openssl_unittest.cc cache_.MarkSSLSessionAsGood(ssl.get()); cache_ 237 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_TRUE(cache_.SetSSLSessionWithKey(ssl2.get(), key)); cache_ 248 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(1U, cache_.size()); cache_ 254 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(1U, cache_.size()); cache_ 269 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_FALSE(cache_.SetSSLSession(ssl.get())); cache_ 280 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_FALSE(cache_.SetSSLSession(ssl2.get())); cache_ 294 net/socket/ssl_session_cache_openssl_unittest.cc cache_.MarkSSLSessionAsGood(ssl.get()); cache_ 299 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_FALSE(cache_.SetSSLSession(ssl3.get())); cache_ 319 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(n + 1, cache_.size()); cache_ 329 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(kMaxItems, cache_.size()); cache_ 353 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(kNumEntries - 1U, cache_.size()); cache_ 360 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(kNumEntries, cache_.size()); cache_ 366 net/socket/ssl_session_cache_openssl_unittest.cc cache_.SetSSLSession(ssl.get()); cache_ 367 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(kNumEntries, cache_.size()); cache_ 373 net/socket/ssl_session_cache_openssl_unittest.cc cache_.SetSSLSession(bad_ssl.get()); cache_ 375 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(1U, cache_.size()); cache_ 25 net/ssl/ssl_client_auth_cache.cc AuthCacheMap::iterator iter = cache_.find(server); cache_ 26 net/ssl/ssl_client_auth_cache.cc if (iter == cache_.end()) cache_ 35 net/ssl/ssl_client_auth_cache.cc cache_[server] = value; cache_ 41 net/ssl/ssl_client_auth_cache.cc cache_.erase(server); cache_ 45 net/ssl/ssl_client_auth_cache.cc cache_.clear(); cache_ 59 net/ssl/ssl_client_auth_cache.h AuthCacheMap cache_; cache_ 18 net/tools/dump_cache/cache_dumper.cc : cache_(cache) { cache_ 24 net/tools/dump_cache/cache_dumper.cc return cache_->CreateEntry(key, entry, callback); cache_ 59 net/tools/dump_cache/cache_dumper.h disk_cache::Backend* cache_; cache_ 123 net/tools/dump_cache/simple_cache_dumper.cc DCHECK(!cache_); cache_ 133 net/tools/dump_cache/simple_cache_dumper.cc &cache_, cache_ 141 net/tools/dump_cache/simple_cache_dumper.cc reinterpret_cast<disk_cache::BackendImpl*>(cache_.get())->SetUpgradeMode(); cache_ 142 net/tools/dump_cache/simple_cache_dumper.cc reinterpret_cast<disk_cache::BackendImpl*>(cache_.get())->SetFlags( cache_ 153 net/tools/dump_cache/simple_cache_dumper.cc return cache_->OpenNextEntry(&iter_, &src_entry_, io_callback_); cache_ 159 net/tools/dump_cache/simple_cache_dumper.cc cache_->EndEnumeration(&iter_); cache_ 268 net/tools/dump_cache/simple_cache_dumper.cc cache_.reset(); cache_ 79 net/tools/dump_cache/simple_cache_dumper.h scoped_ptr<disk_cache::Backend> cache_; cache_ 267 net/tools/dump_cache/upgrade_win.cc scoped_ptr<disk_cache::Backend> cache_; cache_ 333 net/tools/dump_cache/upgrade_win.cc cache_ = cache.Pass(); cache_ 334 net/tools/dump_cache/upgrade_win.cc writer_ = new CacheDumper(cache_.get()); cache_ 592 net/tools/dump_cache/upgrade_win.cc scoped_ptr<disk_cache::BackendImpl> cache_; cache_ 608 net/tools/dump_cache/upgrade_win.cc cache_.reset(reinterpret_cast<disk_cache::BackendImpl*>(cache.release())); cache_ 609 net/tools/dump_cache/upgrade_win.cc cache_->SetUpgradeMode(); cache_ 614 net/tools/dump_cache/upgrade_win.cc cache_->EndEnumeration(&iterator_); cache_ 675 net/tools/dump_cache/upgrade_win.cc if (!cache_.get()) cache_ 728 net/tools/dump_cache/upgrade_win.cc rv = cache_->OpenNextEntry( cache_ 733 net/tools/dump_cache/upgrade_win.cc rv = cache_->OpenPrevEntry(&iterator_, cache_ 764 net/tools/dump_cache/upgrade_win.cc cache_->EndEnumeration(&iterator_); cache_ 28 net/url_request/view_cache_helper_unittest.cc HttpCache cache_; cache_ 32 net/url_request/view_cache_helper_unittest.cc : cache_(reinterpret_cast<HttpTransactionFactory*>(NULL), NULL, cache_ 34 net/url_request/view_cache_helper_unittest.cc set_http_transaction_factory(&cache_); cache_ 253 ppapi/proxy/ppb_image_data_proxy.cc CacheMap cache_; cache_ 275 ppapi/proxy/ppb_image_data_proxy.cc CacheMap::iterator found = cache_.find(instance); cache_ 276 ppapi/proxy/ppb_image_data_proxy.cc if (found == cache_.end()) cache_ 282 ppapi/proxy/ppb_image_data_proxy.cc cache_[image_data->pp_instance()].Add(image_data); cache_ 294 ppapi/proxy/ppb_image_data_proxy.cc CacheMap::iterator found = cache_.find(image_data->pp_instance()); cache_ 295 ppapi/proxy/ppb_image_data_proxy.cc if (found != cache_.end()) cache_ 300 ppapi/proxy/ppb_image_data_proxy.cc cache_.erase(instance); cache_ 304 ppapi/proxy/ppb_image_data_proxy.cc CacheMap::iterator found = cache_.find(instance); cache_ 305 ppapi/proxy/ppb_image_data_proxy.cc if (found == cache_.end()) cache_ 309 ppapi/proxy/ppb_image_data_proxy.cc cache_.erase(found); cache_ 238 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp RecordInfo* info = cache_->Lookup(field->getParent()); cache_ 260 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp RecordCache* cache_; cache_ 621 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp CheckRecord(cache_.Lookup(*it)); cache_ 655 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp CheckClass(cache_.Lookup(*it)); cache_ 761 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp CheckFinalizerVisitor visitor(&cache_); cache_ 799 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp RecordInfo* parent = cache_.Lookup(method->getParent()); cache_ 812 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp CheckTraceOrDispatchMethod(cache_.Lookup(*it), method); cache_ 1015 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp return InCheckedNamespace(cache_.Lookup(context)); cache_ 1306 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp RecordCache cache_; cache_ 12 tools/clang/blink_gc_plugin/RecordInfo.cpp : cache_(cache), cache_ 161 tools/clang/blink_gc_plugin/RecordInfo.cpp Cache::iterator it = cache_.find(record); cache_ 162 tools/clang/blink_gc_plugin/RecordInfo.cpp if (it != cache_.end()) cache_ 164 tools/clang/blink_gc_plugin/RecordInfo.cpp return &cache_.insert(std::make_pair(record, RecordInfo(record, this))) cache_ 309 tools/clang/blink_gc_plugin/RecordInfo.cpp RecordInfo* info = cache_->Lookup(spec.getType()); cache_ 440 tools/clang/blink_gc_plugin/RecordInfo.cpp RecordInfo* info = cache_->Lookup(type); cache_ 115 tools/clang/blink_gc_plugin/RecordInfo.h RecordCache* cache_; cache_ 159 tools/clang/blink_gc_plugin/RecordInfo.h for (Cache::iterator it = cache_.begin(); it != cache_.end(); ++it) { cache_ 172 tools/clang/blink_gc_plugin/RecordInfo.h Cache cache_; cache_ 151 ui/base/x/x11_util.cc std::pair<std::map<int, ::Cursor>::iterator, bool> it = cache_.insert( cache_ 163 ui/base/x/x11_util.cc cache_.begin(); it != cache_.end(); ++it) { cache_ 166 ui/base/x/x11_util.cc cache_.clear(); cache_ 171 ui/base/x/x11_util.cc std::map<int, ::Cursor> cache_; cache_ 189 ui/base/x/x11_util.cc cache_[xcursor] = custom_cursor; cache_ 194 ui/base/x/x11_util.cc cache_[cursor]->Ref(); cache_ 198 ui/base/x/x11_util.cc if (cache_[cursor]->Unref()) cache_ 199 ui/base/x/x11_util.cc cache_.erase(cursor); cache_ 203 ui/base/x/x11_util.cc cache_.clear(); cache_ 251 ui/base/x/x11_util.cc std::map< ::Cursor, XCustomCursor*> cache_; cache_ 341 webkit/browser/appcache/appcache_service.cc scoped_refptr<AppCache> cache_; cache_ 362 webkit/browser/appcache/appcache_service.cc cache_ = group->newest_complete_cache(); cache_ 363 webkit/browser/appcache/appcache_service.cc const AppCacheEntry* entry = cache_->GetEntryWithResponseId(response_id_); cache_ 365 webkit/browser/appcache/appcache_service.cc if (cache_->cache_id() == cache_id_) { cache_ 606 webkit/browser/appcache/appcache_storage_impl.cc scoped_refptr<AppCache> cache_; cache_ 616 webkit/browser/appcache/appcache_storage_impl.cc : StoreOrLoadTask(storage), group_(group), cache_(newest_cache), cache_ 771 webkit/browser/appcache/appcache_storage_impl.cc if (cache_.get() != group_->newest_complete_cache()) { cache_ 772 webkit/browser/appcache/appcache_storage_impl.cc cache_->set_complete(true); cache_ 773 webkit/browser/appcache/appcache_storage_impl.cc group_->AddCache(cache_.get()); cache_ 782 webkit/browser/appcache/appcache_storage_impl.cc group_.get(), cache_.get(), success_, would_exceed_quota_)); cache_ 784 webkit/browser/appcache/appcache_storage_impl.cc cache_ = NULL; cache_ 795 webkit/browser/appcache/appcache_storage_impl.cc cache_ = NULL; cache_ 168 webkit/browser/appcache/appcache_url_request_job.cc cache_ = cache; cache_ 209 webkit/browser/appcache/appcache_url_request_job.cc AppCacheExecutableHandler* handler = cache_->GetOrCreateExecutableHandler( cache_ 239 webkit/browser/appcache/appcache_url_request_job.cc AppCacheEntry* entry_ptr = cache_->GetEntry(response.cached_resource_url); cache_ 374 webkit/browser/appcache/appcache_url_request_job.cc cache_ = NULL; cache_ 170 webkit/browser/appcache/appcache_url_request_job.h scoped_refptr<AppCache> cache_;