HomeSort by relevance Sort by last modified time
    Searched refs:HttpCache (Results 1 - 25 of 55) 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,
168 HttpCache::Transaction::Transaction(
170 HttpCache* cache,
201 COMPILE_ASSERT(HttpCache::Transaction::kNumValidationHeaders ==
209 HttpCache::Transaction::~Transaction() {
236 // HttpCache. This probably isn't strictly necessary, but might as well.
244 int HttpCache::Transaction::WriteMetadata(IOBuffer* buf, int buf_len,
260 bool HttpCache::Transaction::AddTruncatedFlag() {
281 LoadState HttpCache::Transaction::GetWriterLoadState() const {
289 const BoundNetLog& HttpCache::Transaction::net_log() const
    [all...]
http_network_layer.h 47 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_network_layer.cc 61 HttpCache* HttpNetworkLayer::GetCache() {
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_; }
404 base::WeakPtr<HttpCache> cache_;
405 HttpCache::ActiveEntry* entry_;
406 HttpCache::ActiveEntry* new_entry_;
421 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_cache_unittest.cc 176 net::HttpCache* cache,
227 net::HttpCache* cache,
238 void RunTransactionTestWithRequest(net::HttpCache* cache,
248 net::HttpCache* cache,
258 void RunTransactionTestWithDelegate(net::HttpCache* cache,
267 void RunTransactionTest(net::HttpCache* cache,
272 void RunTransactionTestWithResponseInfo(net::HttpCache* cache,
280 net::HttpCache* cache,
291 void RunTransactionTestWithResponse(net::HttpCache* cache,
300 net::HttpCache* cache
    [all...]
  /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/chrome/browser/profiles/
profile_impl_io_data.cc 414 net::HttpCache::DefaultBackend* main_backend =
415 new net::HttpCache::DefaultBackend(
424 net::HttpCache* main_cache = new net::HttpCache(
434 record_mode ? net::HttpCache::RECORD : net::HttpCache::PLAYBACK);
536 net::HttpCache::BackendFactory* app_backend = NULL;
538 app_backend = net::HttpCache::DefaultBackend::InMemory(0);
540 app_backend = new net::HttpCache::DefaultBackend(
550 net::HttpCache* app_http_cache
    [all...]
off_the_record_profile_io_data.cc 209 net::HttpCache::BackendFactory* main_backend =
210 net::HttpCache::DefaultBackend::InMemory(0);
213 net::HttpCache* cache = new net::HttpCache(
299 net::HttpCache::BackendFactory* app_backend =
300 net::HttpCache::DefaultBackend::InMemory(0);
304 new net::HttpCache(main_network_session, app_backend));
  /external/chromium_org/android_webview/browser/net/
aw_url_request_context_getter.cc 84 net::HttpCache* main_cache = new net::HttpCache(
86 new net::HttpCache::DefaultBackend(
  /external/chromium_org/content/shell/
shell_url_request_context_getter.cc 134 net::HttpCache::DefaultBackend* main_backend =
135 new net::HttpCache::DefaultBackend(
195 net::HttpCache* main_cache = new net::HttpCache(
  /external/chromium_org/net/url_request/
url_request_context_builder.cc 276 HttpCache::BackendFactory* http_cache_backend = NULL;
279 http_cache_backend = new HttpCache::DefaultBackend(
287 HttpCache::DefaultBackend::InMemory(http_cache_params_.max_size);
290 http_transaction_factory = new HttpCache(

Completed in 660 milliseconds

1 2 3