Home | History | Annotate | Download | only in http

Lines Matching defs:HttpCache

69 HttpCache::DefaultBackend::DefaultBackend(CacheType type,
79 HttpCache::DefaultBackend::~DefaultBackend() {}
82 HttpCache::BackendFactory* HttpCache::DefaultBackend::InMemory(int max_bytes) {
86 int HttpCache::DefaultBackend::CreateBackend(NetLog* net_log,
96 HttpCache::ActiveEntry::ActiveEntry(disk_cache::Entry* entry)
103 HttpCache::ActiveEntry::~ActiveEntry() {
114 struct HttpCache::PendingOp {
137 class HttpCache::WorkItem {
188 class HttpCache::BackendCallback : public CallbackRunner<Tuple1<int> > {
190 BackendCallback(HttpCache* cache, PendingOp* pending_op)
210 HttpCache* cache_;
219 class HttpCache::MetadataWriter {
221 explicit MetadataWriter(HttpCache::Transaction* trans)
227 // Implementes the bulk of HttpCache::WriteMetadata.
236 scoped_ptr<HttpCache::Transaction> transaction_;
246 void HttpCache::MetadataWriter::Write(const GURL& url,
266 void HttpCache::MetadataWriter::VerifyResponse(int result) {
281 void HttpCache::MetadataWriter::SelfDestroy() {
285 void HttpCache::MetadataWriter::OnIOComplete(int result) {
293 class HttpCache::SSLHostInfoFactoryAdaptor : public SSLHostInfoFactory {
295 SSLHostInfoFactoryAdaptor(CertVerifier* cert_verifier, HttpCache* http_cache)
308 HttpCache* const http_cache_;
312 HttpCache::HttpCache(HostResolver* host_resolver,
346 HttpCache::HttpCache(HttpNetworkSession* session,
359 HttpCache::HttpCache(HttpTransactionFactory* network_layer,
370 HttpCache::~HttpCache() {
413 int HttpCache::GetBackend(disk_cache::Backend** backend,
425 disk_cache::Backend* HttpCache::GetCurrentBackend() {
430 bool HttpCache::ParseResponseInfo(const char* data, int len,
437 void HttpCache::WriteMetadata(const GURL& url,
447 HttpCache::Transaction* trans = new HttpCache::Transaction(this);
454 void HttpCache::CloseAllConnections() {
462 void HttpCache::CloseIdleConnections() {
470 int HttpCache::CreateTransaction(scoped_ptr<HttpTransaction>* trans) {
475 trans->reset(new HttpCache::Transaction(this));
479 HttpCache* HttpCache::GetCache() {
483 HttpNetworkSession* HttpCache::GetSession() {
489 void HttpCache::Suspend(bool suspend) {
495 int HttpCache::CreateBackend(disk_cache::Backend** backend,
530 int HttpCache::GetBackendForTransaction(Transaction* trans) {
545 std::string HttpCache::GenerateCacheKey(const HttpRequestInfo* request) {
583 int HttpCache::DoomEntry(const std::string& key, Transaction* trans) {
607 int HttpCache::AsyncDoomEntry(const std::string& key, Transaction* trans) {
631 void HttpCache::FinalizeDoomedEntry(ActiveEntry* entry) {
644 HttpCache::ActiveEntry* HttpCache::FindActiveEntry(const std::string& key) {
649 HttpCache::ActiveEntry* HttpCache::ActivateEntry(
657 void HttpCache::DeactivateEntry(ActiveEntry* entry) {
678 void HttpCache::SlowDeactivateEntry(ActiveEntry* entry) {
689 HttpCache::PendingOp* HttpCache::GetPendingOp(const std::string& key) {
701 void HttpCache::DeletePendingOp(PendingOp* pending_op) {
724 int HttpCache::OpenEntry(const std::string& key, ActiveEntry** entry,
754 int HttpCache::CreateEntry(const std::string& key, ActiveEntry** entry,
781 void HttpCache::DestroyEntry(ActiveEntry* entry) {
789 int HttpCache::AddTransactionToEntry(ActiveEntry* entry, Transaction* trans) {
828 void HttpCache::DoneWithEntry(ActiveEntry* entry, Transaction* trans,
852 void HttpCache::DoneWritingToEntry(ActiveEntry* entry, bool success) {
879 void HttpCache::DoneReadingFromEntry(ActiveEntry* entry, Transaction* trans) {
891 void HttpCache::ConvertWriterToReader(ActiveEntry* entry) {
904 LoadState HttpCache::GetLoadStateForPendingTransaction(
917 void HttpCache::RemovePendingTransaction(Transaction* trans) {
949 bool HttpCache::RemovePendingTransactionFromEntry(ActiveEntry* entry,
962 bool HttpCache::RemovePendingTransactionFromPendingOp(PendingOp* pending_op,
982 void HttpCache::ProcessPendingQueue(ActiveEntry* entry) {
992 task_factory_.NewRunnableMethod(&HttpCache::OnProcessPendingQueue,
996 void HttpCache::OnProcessPendingQueue(ActiveEntry* entry) {
1020 void HttpCache::OnIOComplete(int result, PendingOp* pending_op) {
1109 void HttpCache::OnBackendCreated(int result, PendingOp* pending_op) {
1138 task_factory_.NewRunnableMethod(&HttpCache::OnBackendCreated,