Index: base/memory/ref_counted_memory.h |
diff --git a/base/memory/ref_counted_memory.h b/base/memory/ref_counted_memory.h |
index 9edcd6fdc94d7f358596dcc2a39153a38d7e0b0f..b99871bb124c92637d60a6f71aa2d7dc044e3b56 100644 |
--- a/base/memory/ref_counted_memory.h |
+++ b/base/memory/ref_counted_memory.h |
@@ -27,6 +27,9 @@ class BASE_EXPORT RefCountedMemory |
// Size of the memory pointed to. |
virtual size_t size() const = 0; |
+ // Returns true if |other| is byte for byte equal. |
+ bool Equals(const scoped_refptr<RefCountedMemory>& other) const; |
+ |
protected: |
friend class base::RefCountedThreadSafe<RefCountedMemory>; |
RefCountedMemory(); |