/external/chromium/net/http/ |
D | http_cache.cc | 69 HttpCache::DefaultBackend::DefaultBackend(CacheType type, in DefaultBackend() 79 HttpCache::DefaultBackend::~DefaultBackend() {} in ~DefaultBackend() 82 HttpCache::BackendFactory* HttpCache::DefaultBackend::InMemory(int max_bytes) { in InMemory() 86 int HttpCache::DefaultBackend::CreateBackend(NetLog* net_log, in CreateBackend() 96 HttpCache::ActiveEntry::ActiveEntry(disk_cache::Entry* entry) in ActiveEntry() 103 HttpCache::ActiveEntry::~ActiveEntry() { in ~ActiveEntry() 114 struct HttpCache::PendingOp { 137 class HttpCache::WorkItem { 188 class HttpCache::BackendCallback : public CallbackRunner<Tuple1<int> > { 190 BackendCallback(HttpCache* cache, PendingOp* pending_op) in BackendCallback() [all …]
|
D | http_cache_transaction.cc | 102 HttpCache::Transaction::Transaction(HttpCache* cache) in Transaction() 131 COMPILE_ASSERT(HttpCache::Transaction::kNumValidationHeaders == in Transaction() 136 HttpCache::Transaction::~Transaction() { in ~Transaction() 168 int HttpCache::Transaction::WriteMetadata(IOBuffer* buf, int buf_len, in WriteMetadata() 184 bool HttpCache::Transaction::AddTruncatedFlag() { in AddTruncatedFlag() 201 LoadState HttpCache::Transaction::GetWriterLoadState() const { in GetWriterLoadState() 209 const BoundNetLog& HttpCache::Transaction::net_log() const { in net_log() 213 int HttpCache::Transaction::Start(const HttpRequestInfo* request, in Start() 242 int HttpCache::Transaction::RestartIgnoringLastError( in RestartIgnoringLastError() 260 int HttpCache::Transaction::RestartWithCertificate( in RestartWithCertificate() [all …]
|
D | http_cache.h | 60 class NET_EXPORT HttpCache : public HttpTransactionFactory, 61 public base::SupportsWeakPtr<HttpCache>, 121 HttpCache(HostResolver* host_resolver, 137 HttpCache(HttpNetworkSession* session, BackendFactory* backend_factory); 143 HttpCache(HttpTransactionFactory* network_layer, 147 ~HttpCache(); 187 virtual HttpCache* GetCache(); 377 ScopedRunnableMethodFactory<HttpCache> task_factory_; 381 DISALLOW_COPY_AND_ASSIGN(HttpCache);
|
D | http_cache_unittest.cc | 538 class MockBackendFactory : public net::HttpCache::BackendFactory { 554 explicit MockHttpCache(net::HttpCache::BackendFactory* disk_cache_factory) in MockHttpCache() 558 net::HttpCache* http_cache() { return &http_cache_; } in http_cache() 583 return net::HttpCache::ParseResponseInfo(buffer->data(), size, in ReadResponseInfo() 623 net::HttpCache http_cache_; 634 class MockBackendNoCbFactory : public net::HttpCache::BackendFactory { 645 class MockBlockingBackendFactory : public net::HttpCache::BackendFactory { 718 void RunTransactionTestWithRequestAndLog(net::HttpCache* cache, in RunTransactionTestWithRequestAndLog() 746 void RunTransactionTestWithRequest(net::HttpCache* cache, in RunTransactionTestWithRequest() 754 void RunTransactionTestWithLog(net::HttpCache* cache, in RunTransactionTestWithLog() [all …]
|
D | http_cache_transaction.h | 29 class HttpCache::Transaction : public HttpTransaction { 60 Transaction(HttpCache* cache); 336 base::WeakPtr<HttpCache> cache_; 337 HttpCache::ActiveEntry* entry_; 339 HttpCache::ActiveEntry* new_entry_;
|
D | disk_cache_based_ssl_host_info.h | 19 class HttpCache; variable 32 HttpCache* http_cache); 111 HttpCache* const http_cache_;
|
D | http_transaction_factory.h | 13 class HttpCache; variable 28 virtual HttpCache* GetCache() = 0;
|
D | http_network_layer.h | 61 virtual HttpCache* GetCache();
|
D | http_network_layer.cc | 150 HttpCache* HttpNetworkLayer::GetCache() { in GetCache()
|
D | http_transaction_unittest.h | 205 virtual net::HttpCache* GetCache();
|
D | disk_cache_based_ssl_host_info.cc | 40 HttpCache* http_cache) in DiskCacheBasedSSLHostInfo()
|
D | http_transaction_unittest.cc | 334 net::HttpCache* MockNetworkLayer::GetCache() { in GetCache()
|
/external/chromium/chrome/browser/profiles/ |
D | profile_impl_io_data.cc | 217 net::HttpCache::DefaultBackend* main_backend = in LazyInitializeInternal() 218 new net::HttpCache::DefaultBackend( in LazyInitializeInternal() 223 net::HttpCache* main_cache = new net::HttpCache( in LazyInitializeInternal() 235 net::HttpCache::DefaultBackend* media_backend = in LazyInitializeInternal() 236 new net::HttpCache::DefaultBackend( in LazyInitializeInternal() 241 net::HttpCache* media_cache = in LazyInitializeInternal() 242 new net::HttpCache(main_network_session, media_backend); in LazyInitializeInternal() 250 record_mode ? net::HttpCache::RECORD : net::HttpCache::PLAYBACK); in LazyInitializeInternal() 312 net::HttpCache::DefaultBackend* app_backend = in InitializeAppRequestContext() 313 new net::HttpCache::DefaultBackend( in InitializeAppRequestContext() [all …]
|
D | off_the_record_profile_io_data.cc | 164 net::HttpCache::BackendFactory* main_backend = in LazyInitializeInternal() 165 net::HttpCache::DefaultBackend::InMemory(0); in LazyInitializeInternal() 166 net::HttpCache* cache = in LazyInitializeInternal() 167 new net::HttpCache(main_context->host_resolver(), in LazyInitializeInternal() 200 net::HttpCache::BackendFactory* app_backend = in InitializeAppRequestContext() 201 net::HttpCache::DefaultBackend::InMemory(0); in InitializeAppRequestContext() 204 net::HttpCache* app_http_cache = in InitializeAppRequestContext() 205 new net::HttpCache(main_network_session, app_backend); in InitializeAppRequestContext()
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
D | WebCache.cpp | 102 net::HttpCache::BackendFactory* backendFactory; in WebCache() 104 backendFactory = net::HttpCache::DefaultBackend::InMemory(kMaximumCacheSizeBytes / 2); in WebCache() 108 backendFactory = net::HttpCache::DefaultBackend::InMemory(kMaximumCacheSizeBytes / 2); in WebCache() 111 …backendFactory = new net::HttpCache::DefaultBackend(net::DISK_CACHE, directoryPath, kMaximumCacheS… in WebCache() 115 m_cache = new net::HttpCache(m_hostResolver.get(), in WebCache()
|
D | WebCache.h | 48 net::HttpCache* cache() { return m_cache.get(); } in cache() 71 OwnPtr<net::HttpCache> m_cache;
|
D | CacheResult.cpp | 244 …if (size == m_bufferSize && HttpCache::ParseResponseInfo(m_buffer->data(), m_bufferSize, &response… in onResponseHeadersDone()
|
/external/chromium/net/url_request/ |
D | view_cache_helper.cc | 216 HttpCache* http_cache = context_->http_transaction_factory()->GetCache(); in DoGetBackend() 294 if (HttpCache::ParseResponseInfo(buf_->data(), buf_len_, &response, in DoReadResponseComplete() 341 if (index_ < HttpCache::kNumCacheEntryDataIndices) { in DoReadDataComplete()
|
D | view_cache_helper_unittest.cc | 27 HttpCache cache_; 32 HttpCache::DefaultBackend::InMemory(0)) { in TestURLRequestContext()
|
D | url_request_test_util.cc | 88 context_storage_.set_http_transaction_factory(new net::HttpCache( in Init() 90 net::HttpCache::DefaultBackend::InMemory(0))); in Init()
|
/external/chromium/net/tools/fetch/ |
D | fetch_client.cc | 163 factory = new net::HttpCache(network_session, in main() 164 net::HttpCache::DefaultBackend::InMemory(0)); in main()
|
/external/chromium/chrome/browser/net/ |
D | connection_tester.cc | 84 set_http_transaction_factory(new net::HttpCache( in Init() 86 net::HttpCache::DefaultBackend::InMemory(0))); in Init()
|
/external/chromium/net/proxy/ |
D | proxy_script_fetcher_impl_unittest.cc | 58 set_http_transaction_factory(new HttpCache( in RequestContext() 60 HttpCache::DefaultBackend::InMemory(0))); in RequestContext()
|
/external/chromium/net/tools/dump_cache/ |
D | cache_dumper.cc | 160 if (!net::HttpCache::ParseResponseInfo(buf->data(), buf_len, in WriteEntry()
|
/external/chromium/net/spdy/ |
D | spdy_test_util.cc | 969 set_http_transaction_factory(new HttpCache( in SpdyURLRequestContext() 971 HttpCache::DefaultBackend::InMemory(0))); in SpdyURLRequestContext()
|