diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-11 17:16:48 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-11 17:16:48 +0000 |
commit | 034740aad9bf9e187d92b048a3c5c269673a3741 (patch) | |
tree | a7a5201619749081305e94c901405093935fb804 /net/disk_cache/entry_impl.h | |
parent | 183e2f015c27f84cba7972ba978ee96447abd3fc (diff) | |
download | chromium_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/disk_cache/entry_impl.h')
-rw-r--r-- | net/disk_cache/entry_impl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/disk_cache/entry_impl.h b/net/disk_cache/entry_impl.h index 294f52fc..9c39223 100644 --- a/net/disk_cache/entry_impl.h +++ b/net/disk_cache/entry_impl.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 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. @@ -50,6 +50,7 @@ class EntryImpl : public Entry, public base::RefCounted<EntryImpl> { virtual int GetAvailableRange(int64 offset, int len, int64* start); virtual int GetAvailableRange(int64 offset, int len, int64* start, CompletionCallback* callback); + virtual bool CouldBeSparse() const; virtual void CancelSparseIO(); virtual int ReadyForSparseIO(net::CompletionCallback* completion_callback); |