| Index: net/http/http_cache_unittest.cc
 | 
| ===================================================================
 | 
| --- net/http/http_cache_unittest.cc	(revision 31079)
 | 
| +++ net/http/http_cache_unittest.cc	(working copy)
 | 
| @@ -61,9 +61,6 @@
 | 
|      test_mode_ = t->test_mode;
 | 
|    }
 | 
|  
 | 
| -  ~MockDiskEntry() {
 | 
| -  }
 | 
| -
 | 
|    bool is_doomed() const { return doomed_; }
 | 
|  
 | 
|    virtual void Doom() {
 | 
| @@ -249,6 +246,10 @@
 | 
|    void set_fail_requests() { fail_requests_ = true; }
 | 
|  
 | 
|   private:
 | 
| +  friend class base::RefCounted<MockDiskEntry>;
 | 
| +
 | 
| +  ~MockDiskEntry() {}
 | 
| +
 | 
|    // Unlike the callbacks for MockHttpTransaction, we want this one to run even
 | 
|    // if the consumer called Close on the MockDiskEntry.  We achieve that by
 | 
|    // leveraging the fact that this class is reference counted.
 | 
| 
 |