| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_BASE_ELEMENTS_UPLOAD_DATA_STREAM_H_ | 5 #ifndef NET_BASE_ELEMENTS_UPLOAD_DATA_STREAM_H_ |
| 6 #define NET_BASE_ELEMENTS_UPLOAD_DATA_STREAM_H_ | 6 #define NET_BASE_ELEMENTS_UPLOAD_DATA_STREAM_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <vector> | 11 #include <vector> |
| 9 | 12 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/macros.h" | 13 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 15 #include "net/base/net_export.h" | 17 #include "net/base/net_export.h" |
| 16 #include "net/base/upload_data_stream.h" | 18 #include "net/base/upload_data_stream.h" |
| 17 | 19 |
| 18 namespace net { | 20 namespace net { |
| 19 | 21 |
| 20 class DrainableIOBuffer; | 22 class DrainableIOBuffer; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 bool read_failed_; | 81 bool read_failed_; |
| 80 | 82 |
| 81 base::WeakPtrFactory<ElementsUploadDataStream> weak_ptr_factory_; | 83 base::WeakPtrFactory<ElementsUploadDataStream> weak_ptr_factory_; |
| 82 | 84 |
| 83 DISALLOW_COPY_AND_ASSIGN(ElementsUploadDataStream); | 85 DISALLOW_COPY_AND_ASSIGN(ElementsUploadDataStream); |
| 84 }; | 86 }; |
| 85 | 87 |
| 86 } // namespace net | 88 } // namespace net |
| 87 | 89 |
| 88 #endif // NET_BASE_ELEMENTS_UPLOAD_DATA_STREAM_H_ | 90 #endif // NET_BASE_ELEMENTS_UPLOAD_DATA_STREAM_H_ |
| OLD | NEW |