Index: net/disk_cache/simple/simple_synchronous_entry.cc |
diff --git a/net/disk_cache/simple/simple_synchronous_entry.cc b/net/disk_cache/simple/simple_synchronous_entry.cc |
index 509755a0508ad76243c2a29f3e37576c53ac19ef..a96f5ae2006c34e42b173dbf680fb0d605f99c7b 100644 |
--- a/net/disk_cache/simple/simple_synchronous_entry.cc |
+++ b/net/disk_cache/simple/simple_synchronous_entry.cc |
@@ -49,7 +49,7 @@ using simple_util::GetFileOffsetFromKeyAndDataOffset; |
void SimpleSynchronousEntry::OpenEntry( |
const FilePath& path, |
const std::string& key, |
- const scoped_refptr<TaskRunner>& callback_runner, |
+ TaskRunner* callback_runner, |
const SynchronousCreationCallback& callback) { |
SimpleSynchronousEntry* sync_entry = |
new SimpleSynchronousEntry(callback_runner, path, key); |
@@ -66,7 +66,7 @@ void SimpleSynchronousEntry::OpenEntry( |
void SimpleSynchronousEntry::CreateEntry( |
const FilePath& path, |
const std::string& key, |
- const scoped_refptr<TaskRunner>& callback_runner, |
+ TaskRunner* callback_runner, |
const SynchronousCreationCallback& callback) { |
SimpleSynchronousEntry* sync_entry = |
new SimpleSynchronousEntry(callback_runner, path, key); |
@@ -85,7 +85,7 @@ void SimpleSynchronousEntry::CreateEntry( |
void SimpleSynchronousEntry::DoomEntry( |
const FilePath& path, |
const std::string& key, |
- const scoped_refptr<TaskRunner>& callback_runner, |
+ TaskRunner* callback_runner, |
const net::CompletionCallback& callback) { |
for (int i = 0; i < kSimpleEntryFileCount; ++i) { |
FilePath to_delete = path.AppendASCII(GetFilenameFromKeyAndIndex(key, i)); |
@@ -157,7 +157,7 @@ void SimpleSynchronousEntry::WriteData( |
} |
SimpleSynchronousEntry::SimpleSynchronousEntry( |
- const scoped_refptr<TaskRunner>& callback_runner, |
+ TaskRunner* callback_runner, |
const FilePath& path, |
const std::string& key) |
: callback_runner_(callback_runner), |