HomeSort by relevance Sort by last modified time
    Searched refs:HttpCache (Results 1 - 25 of 27) sorted by null

1 2

  /external/chromium/net/http/
http_transaction_factory.h 13 class HttpCache;
28 virtual HttpCache* GetCache() = 0;
http_cache.cc 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> >
    [all...]
http_cache_transaction.cc 102 HttpCache::Transaction::Transaction(HttpCache* cache)
131 COMPILE_ASSERT(HttpCache::Transaction::kNumValidationHeaders ==
136 HttpCache::Transaction::~Transaction() {
168 int HttpCache::Transaction::WriteMetadata(IOBuffer* buf, int buf_len,
184 bool HttpCache::Transaction::AddTruncatedFlag() {
201 LoadState HttpCache::Transaction::GetWriterLoadState() const {
209 const BoundNetLog& HttpCache::Transaction::net_log() const {
213 int HttpCache::Transaction::Start(const HttpRequestInfo* request,
242 int HttpCache::Transaction::RestartIgnoringLastError
    [all...]
disk_cache_based_ssl_host_info.h 19 class HttpCache;
32 HttpCache* http_cache);
111 HttpCache* const http_cache_;
http_cache.h 9 // The HttpCache takes a disk_cache::Backend as a parameter, and uses that for
60 class NET_EXPORT HttpCache : public HttpTransactionFactory,
61 public base::SupportsWeakPtr<HttpCache>,
78 // A BackendFactory creates a backend object to be used by the HttpCache.
120 // The HttpCache takes ownership of the |backend_factory|.
121 HttpCache(HostResolver* host_resolver,
136 // HttpCache takes ownership of the |backend_factory|.
137 HttpCache(HttpNetworkSession* session, BackendFactory* backend_factory);
141 // by the HttpCache and will be destroyed using |delete| when the HttpCache i
    [all...]
http_network_layer.h 61 virtual HttpCache* GetCache();
http_cache_unittest.cc 538 class MockBackendFactory : public net::HttpCache::BackendFactory {
554 explicit MockHttpCache(net::HttpCache::BackendFactory* disk_cache_factory)
558 net::HttpCache* http_cache() { return &http_cache_; }
583 return net::HttpCache::ParseResponseInfo(buffer->data(), size,
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,
746 void RunTransactionTestWithRequest(net::HttpCache* cache,
754 void RunTransactionTestWithLog(net::HttpCache* cache
    [all...]
http_cache_transaction.h 5 // This file declares HttpCache::Transaction, a private class of HttpCache so
27 // This is the transaction that is returned by the HttpCache transaction
29 class HttpCache::Transaction : public HttpTransaction {
60 Transaction(HttpCache* cache);
336 base::WeakPtr<HttpCache> cache_;
337 HttpCache::ActiveEntry* entry_;
339 HttpCache::ActiveEntry* new_entry_;
353 bool cache_pending_; // We are waiting for the HttpCache.
http_network_layer.cc 150 HttpCache* HttpNetworkLayer::GetCache() {
http_transaction_unittest.h 153 // HttpCache implementation.
205 virtual net::HttpCache* GetCache();
disk_cache_based_ssl_host_info.cc 40 HttpCache* http_cache)
http_transaction_unittest.cc 334 net::HttpCache* MockNetworkLayer::GetCache() {
  /external/chromium/chrome/browser/profiles/
profile_impl_io_data.cc 217 net::HttpCache::DefaultBackend* main_backend =
218 new net::HttpCache::DefaultBackend(
223 net::HttpCache* main_cache = new net::HttpCache(
235 net::HttpCache::DefaultBackend* media_backend =
236 new net::HttpCache::DefaultBackend(
241 net::HttpCache* media_cache =
242 new net::HttpCache(main_network_session, media_backend);
250 record_mode ? net::HttpCache::RECORD : net::HttpCache::PLAYBACK)
    [all...]
off_the_record_profile_io_data.cc 164 net::HttpCache::BackendFactory* main_backend =
165 net::HttpCache::DefaultBackend::InMemory(0);
166 net::HttpCache* cache =
167 new net::HttpCache(main_context->host_resolver(),
200 net::HttpCache::BackendFactory* app_backend =
201 net::HttpCache::DefaultBackend::InMemory(0);
204 net::HttpCache* app_http_cache =
205 new net::HttpCache(main_network_session, app_backend);
  /external/webkit/Source/WebKit/android/WebCoreSupport/
WebCache.h 48 net::HttpCache* cache() { return m_cache.get(); }
71 OwnPtr<net::HttpCache> m_cache;
73 // which is owned by the HttpCache, which is owned by this class.
WebCache.cpp 102 net::HttpCache::BackendFactory* backendFactory;
104 backendFactory = net::HttpCache::DefaultBackend::InMemory(kMaximumCacheSizeBytes / 2);
108 backendFactory = net::HttpCache::DefaultBackend::InMemory(kMaximumCacheSizeBytes / 2);
111 backendFactory = new net::HttpCache::DefaultBackend(net::DISK_CACHE, directoryPath, kMaximumCacheSizeBytes, cacheMessageLoopProxy);
115 m_cache = new net::HttpCache(m_hostResolver.get(),
CacheResult.cpp 46 // Copied from HttpCache
244 if (size == m_bufferSize && HttpCache::ParseResponseInfo(m_buffer->data(), m_bufferSize, &response, &truncated))
  /external/chromium/net/url_request/
view_cache_helper.cc 216 HttpCache* http_cache = context_->http_transaction_factory()->GetCache();
294 if (HttpCache::ParseResponseInfo(buf_->data(), buf_len_, &response,
341 if (index_ < HttpCache::kNumCacheEntryDataIndices) {
url_request_test_util.cc 88 context_storage_.set_http_transaction_factory(new net::HttpCache(
90 net::HttpCache::DefaultBackend::InMemory(0)));
view_cache_helper_unittest.cc 27 HttpCache cache_;
32 HttpCache::DefaultBackend::InMemory(0)) {
  /external/chromium/net/tools/fetch/
fetch_client.cc 163 factory = new net::HttpCache(network_session,
164 net::HttpCache::DefaultBackend::InMemory(0));
  /external/chromium/chrome/browser/net/
connection_tester.cc 84 set_http_transaction_factory(new net::HttpCache(
86 net::HttpCache::DefaultBackend::InMemory(0)));
  /external/chromium/net/proxy/
proxy_script_fetcher_impl_unittest.cc 58 set_http_transaction_factory(new HttpCache(
60 HttpCache::DefaultBackend::InMemory(0)));
  /external/chromium/net/tools/dump_cache/
cache_dumper.cc 160 if (!net::HttpCache::ParseResponseInfo(buf->data(), buf_len,
  /frameworks/av/media/libstagefright/chromium_http/
support.cpp 187 set_http_transaction_factory(new net::HttpCache(

Completed in 516 milliseconds

1 2