Searched refs:was_cached (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/components/precache/core/
H A Dprecache_database.cc80 int64 size, bool was_cached) {
92 if (was_cached && !precache_url_table_.HasURL(url)) {
100 if (!was_cached) {
118 int64 size, bool was_cached,
131 if (was_cached && !precache_url_table_.HasURL(url)) {
136 if (!was_cached) {
78 RecordURLPrecached(const GURL& url, const base::Time& fetch_time, int64 size, bool was_cached) argument
116 RecordURLFetched(const GURL& url, const base::Time& fetch_time, int64 size, bool was_cached, bool is_connection_cellular) argument
H A Dprecache_database.h51 int64 size, bool was_cached);
57 int64 size, bool was_cached,
/external/chromium_org/components/precache/content/
H A Dprecache_manager.cc100 bool was_cached) {
117 url, fetch_time, size, was_cached));
126 fetch_time, size, was_cached, is_connection_cellular));
97 RecordStatsForFetch(const GURL& url, const base::Time& fetch_time, int64 size, bool was_cached) argument
H A Dprecache_manager.h70 bool was_cached);
/external/chromium_org/net/http/
H A Dhttp_response_info.cc99 : was_cached(false),
110 : was_cached(rhs.was_cached),
135 was_cached = rhs.was_cached;
177 was_cached = true; // Set status to show cache resurrection.
H A Dhttp_response_info.h67 // Note also that under normal circumstances, was_cached is set to the correct
69 bool was_cached; member in class:net::HttpResponseInfo
98 // NOTE: If the response was served from the cache (was_cached is true),
H A Dhttp_transaction_test_util.cc401 response_.was_cached = false;
H A Dhttp_cache.cc248 DCHECK(response_info->was_cached);
H A Dhttp_cache_transaction.cc957 } else if (response_.was_cached) {
H A Dhttp_cache_unittest.cc982 EXPECT_TRUE(response_info->was_cached);
1020 // Tests that was_cached was set properly on a failure, even if the cached
1035 // Network failure with error; should fail but have was_cached set.
1050 EXPECT_TRUE(response_info->was_cached);
4732 response1.was_cached = false;
4747 EXPECT_TRUE(response2.was_cached); // InitFromPickle sets this flag.
H A Dhttp_network_transaction_unittest.cc5876 response->was_cached = true; // (Wouldn't ever actually be true...)
5897 EXPECT_FALSE(response->was_cached);
/external/chromium_org/chrome/browser/net/
H A Dchrome_network_delegate.cc255 bool was_cached, void* profile_id) {
270 precache_manager->RecordStatsForFetch(url, fetch_time, size, was_cached);
530 if (!request.was_cached())
552 request->was_cached(), profile_));
560 if (!request->was_cached() && // Don't record cached content
253 RecordPrecacheStatsOnUIThread(const GURL& url, const base::Time& fetch_time, int64 size, bool was_cached, void* profile_id) argument
/external/chromium_org/net/url_request/
H A Durl_request.h477 bool was_cached() const { return response_info_.was_cached; } function in class:net::URLRequest
H A Durl_request_http_job.cc296 is_cached_content_ = response_info_->was_cached;
1477 if (response_info_->was_cached) {
1484 if (request_info_.load_flags & LOAD_PREFETCH && !request_->was_cached())
H A Durl_request.cc700 response_info_.was_cached = false;
1174 if (bytes_read > 0 && !was_cached())
H A Durl_request_unittest.cc5262 EXPECT_TRUE(req.was_cached());
5302 EXPECT_FALSE(req.was_cached());
5759 EXPECT_TRUE(req.was_cached());
5779 EXPECT_FALSE(req.was_cached());
5825 EXPECT_TRUE(r.was_cached());
5945 EXPECT_TRUE(r.was_cached());
/external/chromium_org/content/browser/loader/
H A Dasync_resource_handler.cc360 request_complete_data.exists_in_cache = request()->response_info().was_cached;
H A Dresource_loader.cc681 if (request_->was_cached()) {
/external/chromium_org/content/browser/appcache/
H A Dappcache_service_unittest.cc162 info->was_cached = false;
H A Dappcache_response_unittest.cc252 info->was_cached = false;
H A Dappcache_url_request_job_unittest.cc379 info->was_cached = false;
/external/chromium_org/chrome/browser/extensions/api/web_request/
H A Dweb_request_api.cc1035 dict->SetBoolean(keys::kFromCache, request->was_cached());
1079 dict->SetBoolean(keys::kFromCache, request->was_cached());
1132 dict->SetBoolean(keys::kFromCache, request->was_cached());
1183 dict->SetBoolean(keys::kFromCache, request->was_cached());
/external/chromium_org/chrome/browser/renderer_host/
H A Dchrome_resource_dispatcher_host_delegate.cc708 if (url_request && !url_request->was_cached()) {
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_storage_unittest.cc94 info->was_cached = false;

Completed in 1366 milliseconds