Chromium Code Reviews| Index: net/base/upload_data_stream.h |
| =================================================================== |
| --- net/base/upload_data_stream.h (revision 145640) |
| +++ net/base/upload_data_stream.h (working copy) |
| @@ -65,10 +65,16 @@ |
| // Returns true if the upload data in the stream is entirely in memory. |
| bool IsInMemory() const; |
| - // This method is provided only to be used by unit tests. |
| + private: |
| + friend class SpdyHttpStreamSpdy2Test; |
| + friend class SpdyHttpStreamSpdy3Test; |
| + friend class SpdyNetworkTransactionSpdy2Test; |
| + friend class SpdyNetworkTransactionSpdy3Test; |
| + |
| + // These methods are provided only to be used by unit tests. |
| + static bool merge_chunks() { return merge_chunks_; } |
|
Ryan Hamilton
2012/07/09 17:52:02
Instead of making exposing this method, and having
ramant (doing other things)
2012/07/11 01:36:18
Done.
|
| static void set_merge_chunks(bool merge) { merge_chunks_ = merge; } |
| - private: |
| scoped_refptr<UploadData> upload_data_; |
| // Index of the current upload element (i.e. the element currently being |