| Index: net/disk_cache/storage_block.h
|
| ===================================================================
|
| --- net/disk_cache/storage_block.h (revision 21923)
|
| +++ net/disk_cache/storage_block.h (working copy)
|
| @@ -50,6 +50,9 @@
|
| // own the memory buffer (it cannot be shared).
|
| void Discard();
|
|
|
| + // Stops sharing the data with another object.
|
| + void StopSharingData();
|
| +
|
| // Sets the object to lazily save the in-memory data on destruction.
|
| void set_modified();
|
|
|
| @@ -59,6 +62,9 @@
|
| // Returns true if there is data associated with this object.
|
| bool HasData() const;
|
|
|
| + // Returns true if this object owns the data buffer, false if it is shared.
|
| + bool own_data() const;
|
| +
|
| const Addr address() const;
|
|
|
| // Loads and store the data.
|
|
|