summaryrefslogtreecommitdiffstats
path: root/net/disk_cache
diff options
context:
space:
mode:
authorpasko@chromium.org <pasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-10 16:45:07 +0000
committerpasko@chromium.org <pasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-10 16:45:07 +0000
commit06ec84a432ccb4c4e00d8a1dd0d03e74c4a7f27c (patch)
tree482b61ec756ba86a99fa3c7a57d5cf7f69aac2af /net/disk_cache
parentc8de0db8cf90266e3616ab46677860cda1b2cbbc (diff)
downloadchromium_src-06ec84a432ccb4c4e00d8a1dd0d03e74c4a7f27c.zip
chromium_src-06ec84a432ccb4c4e00d8a1dd0d03e74c4a7f27c.tar.gz
chromium_src-06ec84a432ccb4c4e00d8a1dd0d03e74c4a7f27c.tar.bz2
Simple Cache: remove a function no longer in use
BUG=none Review URL: https://chromiumcodereview.appspot.com/23723007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222283 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache')
-rw-r--r--net/disk_cache/simple/simple_entry_impl.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/disk_cache/simple/simple_entry_impl.cc b/net/disk_cache/simple/simple_entry_impl.cc
index d270098..726c1e6 100644
--- a/net/disk_cache/simple/simple_entry_impl.cc
+++ b/net/disk_cache/simple/simple_entry_impl.cc
@@ -113,15 +113,6 @@ void RecordUnexpectedStream0Write(net::CacheType cache_type) {
HEADER_SIZE_CHANGE_UNEXPECTED_WRITE, HEADER_SIZE_CHANGE_MAX);
}
-// Short trampoline to take an owned input parameter and call a net completion
-// callback with its value.
-void CallCompletionCallback(const net::CompletionCallback& callback,
- scoped_ptr<int> result) {
- DCHECK(result);
- if (!callback.is_null())
- callback.Run(*result);
-}
-
int g_open_entry_count = 0;
void AdjustOpenEntryCountBy(net::CacheType cache_type, int offset) {