Searched refs:HttpCache (Results 1 - 25 of 56) sorted by relevance

123

/external/chromium/net/http/
H A Dhttp_transaction_factory.h13 class HttpCache;
28 virtual HttpCache* GetCache() = 0;
H A Dhttp_cache.cc69 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
312 HttpCache::HttpCache(HostResolver* host_resolver, function in class:net::HttpCache
346 HttpCache::HttpCache(HttpNetworkSession* session, function in class:net::HttpCache
359 HttpCache::HttpCache(HttpTransactionFactory* network_layer, function in class:net::HttpCache
[all...]
H A Dhttp_cache_transaction.cc102 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
[all...]
H A Ddisk_cache_based_ssl_host_info.h19 class HttpCache;
32 HttpCache* http_cache);
111 HttpCache* const http_cache_;
H A Dhttp_cache.h9 // The HttpCache takes a disk_cache::Backend as a parameter, and uses that for
60 class NET_EXPORT HttpCache : public HttpTransactionFactory, class in namespace:net
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...]
H A Dhttp_network_layer.h61 virtual HttpCache* GetCache();
H A Dhttp_cache_unittest.cc538 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* cach
[all...]
H A Dhttp_cache_transaction.h5 // 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/
H A Dhttp_transaction_factory.h14 class HttpCache;
31 virtual HttpCache* GetCache() = 0;
H A Dhttp_cache.cc55 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
270 HttpCache::HttpCache(const net::HttpNetworkSession::Params& params, function in class:net::HttpCache
280 HttpCache::HttpCache(HttpNetworkSession* session, function in class:net::HttpCache
289 HttpCache::HttpCache(HttpTransactionFactory* network_layer, function in class:net::HttpCache
[all...]
H A Dhttp_cache_transaction.cc99 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
[all...]
H A Dhttp_cache.h9 // The HttpCache takes a disk_cache::Backend as a parameter, and uses that for
62 class NET_EXPORT HttpCache : public HttpTransactionFactory, class in namespace:net
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...]
H A Dhttp_network_layer.h49 virtual HttpCache* GetCache() OVERRIDE;
H A Dhttp_cache_unittest.cc178 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* cach
[all...]
H A Dhttp_cache_transaction.h5 // 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...]
H A Dmock_http_cache.h158 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 {
H A Dhttp_network_layer.cc72 HttpCache* HttpNetworkLayer::GetCache() {
/external/chromium/chrome/browser/profiles/
H A Dprofile_impl_io_data.cc217 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
[all...]
H A Doff_the_record_profile_io_data.cc164 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/
H A Dchrome_net_benchmarking_message_filter.cc140 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/
H A Durl_request_context_getter.cc104 net::HttpCache::DefaultBackend* main_backend =
105 new net::HttpCache::DefaultBackend(
112 net::HttpCache* main_cache = new net::HttpCache(
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_impl_io_data.cc470 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_cach
[all...]
H A Doff_the_record_profile_io_data.cc206 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/
H A Dshell_url_request_context_getter.cc135 net::HttpCache::DefaultBackend* main_backend =
136 new net::HttpCache::DefaultBackend(
196 net::HttpCache* main_cache = new net::HttpCache(
/external/chromium_org/net/url_request/
H A Durl_request_context_builder.cc288 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 498 milliseconds

123