Home
last modified time | relevance | path

Searched refs:HttpCache (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium/net/http/
Dhttp_cache.cc69 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 …]
Dhttp_cache_transaction.cc102 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 …]
Dhttp_cache.h60 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);
Dhttp_cache_unittest.cc538 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 …]
Dhttp_cache_transaction.h29 class HttpCache::Transaction : public HttpTransaction {
60 Transaction(HttpCache* cache);
336 base::WeakPtr<HttpCache> cache_;
337 HttpCache::ActiveEntry* entry_;
339 HttpCache::ActiveEntry* new_entry_;
Ddisk_cache_based_ssl_host_info.h19 class HttpCache; variable
32 HttpCache* http_cache);
111 HttpCache* const http_cache_;
Dhttp_transaction_factory.h13 class HttpCache; variable
28 virtual HttpCache* GetCache() = 0;
Dhttp_network_layer.h61 virtual HttpCache* GetCache();
Dhttp_network_layer.cc150 HttpCache* HttpNetworkLayer::GetCache() { in GetCache()
Dhttp_transaction_unittest.h205 virtual net::HttpCache* GetCache();
Ddisk_cache_based_ssl_host_info.cc40 HttpCache* http_cache) in DiskCacheBasedSSLHostInfo()
Dhttp_transaction_unittest.cc334 net::HttpCache* MockNetworkLayer::GetCache() { in GetCache()
/external/chromium/chrome/browser/profiles/
Dprofile_impl_io_data.cc217 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 …]
Doff_the_record_profile_io_data.cc164 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/
DWebCache.cpp102 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()
DWebCache.h48 net::HttpCache* cache() { return m_cache.get(); } in cache()
71 OwnPtr<net::HttpCache> m_cache;
DCacheResult.cpp244 …if (size == m_bufferSize && HttpCache::ParseResponseInfo(m_buffer->data(), m_bufferSize, &response… in onResponseHeadersDone()
/external/chromium/net/url_request/
Dview_cache_helper.cc216 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()
Dview_cache_helper_unittest.cc27 HttpCache cache_;
32 HttpCache::DefaultBackend::InMemory(0)) { in TestURLRequestContext()
Durl_request_test_util.cc88 context_storage_.set_http_transaction_factory(new net::HttpCache( in Init()
90 net::HttpCache::DefaultBackend::InMemory(0))); in Init()
/external/chromium/net/tools/fetch/
Dfetch_client.cc163 factory = new net::HttpCache(network_session, in main()
164 net::HttpCache::DefaultBackend::InMemory(0)); in main()
/external/chromium/chrome/browser/net/
Dconnection_tester.cc84 set_http_transaction_factory(new net::HttpCache( in Init()
86 net::HttpCache::DefaultBackend::InMemory(0))); in Init()
/external/chromium/net/proxy/
Dproxy_script_fetcher_impl_unittest.cc58 set_http_transaction_factory(new HttpCache( in RequestContext()
60 HttpCache::DefaultBackend::InMemory(0))); in RequestContext()
/external/chromium/net/tools/dump_cache/
Dcache_dumper.cc160 if (!net::HttpCache::ParseResponseInfo(buf->data(), buf_len, in WriteEntry()
/external/chromium/net/spdy/
Dspdy_test_util.cc969 set_http_transaction_factory(new HttpCache( in SpdyURLRequestContext()
971 HttpCache::DefaultBackend::InMemory(0))); in SpdyURLRequestContext()

12