summaryrefslogtreecommitdiffstats
path: root/net/http/http_cache_transaction.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-11 17:16:48 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-11 17:16:48 +0000
commit034740aad9bf9e187d92b048a3c5c269673a3741 (patch)
treea7a5201619749081305e94c901405093935fb804 /net/http/http_cache_transaction.h
parent183e2f015c27f84cba7972ba978ee96447abd3fc (diff)
downloadchromium_src-034740aad9bf9e187d92b048a3c5c269673a3741.zip
chromium_src-034740aad9bf9e187d92b048a3c5c269673a3741.tar.gz
chromium_src-034740aad9bf9e187d92b048a3c5c269673a3741.tar.bz2
Http Cache: Remove blocking calls to GetAvailableRange.
This seems to be the last piece of the http cache code that should be upgraded to non-blocking APIs. BUG=26729 TEST=unittests Review URL: http://codereview.chromium.org/2663003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49542 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_cache_transaction.h')
-rw-r--r--net/http/http_cache_transaction.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h
index 4dc39ac..a3cb906 100644
--- a/net/http/http_cache_transaction.h
+++ b/net/http/http_cache_transaction.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -127,7 +127,8 @@ class HttpCache::Transaction : public HttpTransaction {
STATE_DOOM_ENTRY_COMPLETE,
STATE_ADD_TO_ENTRY,
STATE_ADD_TO_ENTRY_COMPLETE,
- STATE_PARTIAL_CACHE_VALIDATION,
+ STATE_START_PARTIAL_CACHE_VALIDATION,
+ STATE_COMPLETE_PARTIAL_CACHE_VALIDATION,
STATE_UPDATE_CACHED_RESPONSE,
STATE_UPDATE_CACHED_RESPONSE_COMPLETE,
STATE_OVERWRITE_CACHED_RESPONSE,
@@ -180,7 +181,8 @@ class HttpCache::Transaction : public HttpTransaction {
int DoDoomEntryComplete(int result);
int DoAddToEntry();
int DoAddToEntryComplete(int result);
- int DoPartialCacheValidation();
+ int DoStartPartialCacheValidation();
+ int DoCompletePartialCacheValidation(int result);
int DoUpdateCachedResponse();
int DoUpdateCachedResponseComplete(int result);
int DoOverwriteCachedResponse();