Index: net/disk_cache/simple/simple_entry_operation.h |
diff --git a/net/disk_cache/simple/simple_entry_operation.h b/net/disk_cache/simple/simple_entry_operation.h |
index acdd60a3207e59324432e650e94a11905a930d0c..1c78701722924f243bdbf058f35e782437b5dd06 100644 |
--- a/net/disk_cache/simple/simple_entry_operation.h |
+++ b/net/disk_cache/simple/simple_entry_operation.h |
@@ -31,6 +31,7 @@ class SimpleEntryOperation { |
TYPE_CLOSE = 2, |
TYPE_READ = 3, |
TYPE_WRITE = 4, |
+ TYPE_DOOM = 5, |
}; |
SimpleEntryOperation(const SimpleEntryOperation& other); |
@@ -63,6 +64,10 @@ class SimpleEntryOperation { |
bool optimistic, |
const CompletionCallback& callback); |
+ static SimpleEntryOperation DoomOperation( |
+ SimpleEntryImpl* entry, |
+ const CompletionCallback& callback); |
+ |
bool ConflictsWith(const SimpleEntryOperation& other_op) const; |
// Releases all references. After calling this operation, SimpleEntryOperation |
// will only hold POD members. |