Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: net/base/upload_data_stream.h

Issue 1476443002: Remove ScopedVector from ElementsUploadDataStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/upload_data_stream.h
diff --git a/net/base/upload_data_stream.h b/net/base/upload_data_stream.h
index a4573eae6d53746ccf373946dbcc8e0ea6e156fd..e2bc60c1b6806c3e48486124d2d56c8d3f522524 100644
--- a/net/base/upload_data_stream.h
+++ b/net/base/upload_data_stream.h
@@ -5,9 +5,10 @@
#ifndef NET_BASE_UPLOAD_DATA_STREAM_H_
#define NET_BASE_UPLOAD_DATA_STREAM_H_
+#include <vector>
+
#include "base/basictypes.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "net/base/completion_callback.h"
#include "net/base/net_export.h"
@@ -86,8 +87,8 @@ class NET_EXPORT UploadDataStream {
virtual bool IsInMemory() const;
// Returns a list of element readers owned by |this|, if it has any.
- virtual const ScopedVector<UploadElementReader>*
- GetElementReaders() const;
+ virtual const std::vector<scoped_ptr<UploadElementReader>>*
mmenke 2015/11/24 17:25:08 include scoped_ptr
+ GetElementReaders() const;
protected:
// Must be called by subclasses when InitInternal and ReadInternal complete

Powered by Google App Engine
This is Rietveld 408576698