Index: content/browser/streams/stream.h |
diff --git a/content/browser/streams/stream.h b/content/browser/streams/stream.h |
index 567b10b111495bb9e9d7973dfd88ed1cd02c0ee8..3aa389c8d96326868fcdda340d44d85db55f85cc 100644 |
--- a/content/browser/streams/stream.h |
+++ b/content/browser/streams/stream.h |
@@ -7,6 +7,7 @@ |
#include "base/basictypes.h" |
#include "base/memory/ref_counted.h" |
+#include "base/memory/weak_ptr.h" |
#include "content/browser/download/byte_stream.h" |
#include "content/common/content_export.h" |
#include "googleurl/src/gurl.h" |
@@ -91,6 +92,7 @@ class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> { |
StreamReadObserver* read_observer_; |
StreamWriteObserver* write_observer_; |
+ base::WeakPtrFactory<Stream> weak_ptr_factory_; |
DISALLOW_COPY_AND_ASSIGN(Stream); |
}; |