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

1 2 3

  /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_network_layer.h 61 virtual HttpCache* GetCache();
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_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.
  /external/chromium_org/net/http/
http_transaction_factory.h 14 class HttpCache;
31 virtual HttpCache* GetCache() = 0;
http_cache.cc 55 HttpCache::DefaultBackend::DefaultBackend(CacheType type,
67 HttpCache::DefaultBackend::~DefaultBackend() {}
70 HttpCache::BackendFactory* HttpCache::DefaultBackend::InMemory(int max_bytes) {
75 int HttpCache::DefaultBackend::CreateBackend(
92 HttpCache::ActiveEntry::ActiveEntry(disk_cache::Entry* entry)
99 HttpCache::ActiveEntry::~ActiveEntry() {
110 struct HttpCache::PendingOp {
133 class HttpCache::WorkItem {
189 class HttpCache::MetadataWriter
    [all...]
http_cache_transaction.cc 99 UMA_HISTOGRAM_ENUMERATION("HttpCache.OfflineStatus", status,
118 UMA_HISTOGRAM_ENUMERATION("HttpCache.Vary", vary, VARY_MAX);
185 HttpCache::Transaction::Transaction(
187 HttpCache* cache,
218 COMPILE_ASSERT(HttpCache::Transaction::kNumValidationHeaders ==
223 HttpCache::Transaction::~Transaction() {
248 int HttpCache::Transaction::WriteMetadata(IOBuffer* buf, int buf_len,
264 bool HttpCache::Transaction::AddTruncatedFlag() {
285 LoadState HttpCache::Transaction::GetWriterLoadState() const {
293 const BoundNetLog& HttpCache::Transaction::net_log() const
    [all...]
http_network_layer.h 49 virtual HttpCache* GetCache() OVERRIDE;
http_cache.h 9 // The HttpCache takes a disk_cache::Backend as a parameter, and uses that for
62 class NET_EXPORT HttpCache : public HttpTransactionFactory,
63 public base::SupportsWeakPtr<HttpCache>,
80 // A BackendFactory creates a backend object to be used by the HttpCache.
124 // The HttpCache takes ownership of the |backend_factory|.
125 HttpCache(const net::HttpNetworkSession::Params& params,
132 // HttpCache takes ownership of the |backend_factory|.
133 HttpCache(HttpNetworkSession* session, BackendFactory* backend_factory);
137 // by the HttpCache and will be destroyed using |delete| when the HttpCache i
    [all...]
http_cache_unittest.cc 178 net::HttpCache* cache,
229 net::HttpCache* cache,
240 void RunTransactionTestWithRequest(net::HttpCache* cache,
250 net::HttpCache* cache,
260 void RunTransactionTestWithDelegate(net::HttpCache* cache,
269 void RunTransactionTest(net::HttpCache* cache,
274 void RunTransactionTestWithResponseInfo(net::HttpCache* cache,
282 net::HttpCache* cache,
293 void RunTransactionTestWithResponse(net::HttpCache* cache,
302 net::HttpCache* cache
    [all...]
http_cache_transaction.h 5 // This file declares HttpCache::Transaction, a private class of HttpCache so
29 // This is the transaction that is returned by the HttpCache transaction
31 class HttpCache::Transaction : public HttpTransaction {
63 HttpCache* cache,
96 HttpCache::ActiveEntry* entry() { return entry_; }
395 base::WeakPtr<HttpCache> cache_;
396 HttpCache::ActiveEntry* entry_;
397 HttpCache::ActiveEntry* new_entry_;
412 bool cache_pending_; // We are waiting for the HttpCache
    [all...]
mock_http_cache.h 158 class MockBackendFactory : public net::HttpCache::BackendFactory {
168 explicit MockHttpCache(net::HttpCache::BackendFactory* disk_cache_factory);
170 net::HttpCache* http_cache() { return &http_cache_; }
203 net::HttpCache http_cache_;
212 class MockBackendNoCbFactory : public net::HttpCache::BackendFactory {
220 class MockBlockingBackendFactory : public net::HttpCache::BackendFactory {
http_network_layer.cc 72 HttpCache* HttpNetworkLayer::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/chromium_org/chrome/browser/
chrome_net_benchmarking_message_filter.cc 140 net::HttpCache::Mode mode = enabled ?
141 net::HttpCache::NORMAL : net::HttpCache::DISABLE;
142 net::HttpCache* http_cache = request_context_->GetURLRequestContext()->
  /external/chromium_org/mojo/shell/
url_request_context_getter.cc 104 net::HttpCache::DefaultBackend* main_backend =
105 new net::HttpCache::DefaultBackend(
112 net::HttpCache* main_cache = new net::HttpCache(
  /external/chromium_org/chrome/browser/profiles/
profile_impl_io_data.cc 470 net::HttpCache::DefaultBackend* main_backend =
471 new net::HttpCache::DefaultBackend(
480 net::HttpCache* main_cache = new net::HttpCache(
491 record_mode ? net::HttpCache::RECORD : net::HttpCache::PLAYBACK);
590 net::HttpCache::BackendFactory* app_backend = NULL;
592 app_backend = net::HttpCache::DefaultBackend::InMemory(0);
594 app_backend = new net::HttpCache::DefaultBackend(
604 net::HttpCache* app_http_cache
    [all...]
off_the_record_profile_io_data.cc 206 net::HttpCache::BackendFactory* main_backend =
207 net::HttpCache::DefaultBackend::InMemory(0);
210 net::HttpCache* cache = new net::HttpCache(
296 net::HttpCache::BackendFactory* app_backend =
297 net::HttpCache::DefaultBackend::InMemory(0);
301 new net::HttpCache(main_network_session, app_backend));
  /external/chromium_org/content/shell/browser/
shell_url_request_context_getter.cc 135 net::HttpCache::DefaultBackend* main_backend =
136 new net::HttpCache::DefaultBackend(
196 net::HttpCache* main_cache = new net::HttpCache(
  /external/chromium_org/net/url_request/
url_request_context_builder.cc 288 HttpCache::BackendFactory* http_cache_backend = NULL;
291 http_cache_backend = new HttpCache::DefaultBackend(
299 HttpCache::DefaultBackend::InMemory(http_cache_params_.max_size);
302 http_transaction_factory = new HttpCache(

Completed in 5725 milliseconds

1 2 3