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

Unified Diff: tools/ipc_fuzzer/message_lib/message_file.h

Issue 2972773004: Remove ScopedVector from tools/ipc_fuzzer/. (Closed)
Patch Set: rev Created 3 years, 5 months 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: tools/ipc_fuzzer/message_lib/message_file.h
diff --git a/tools/ipc_fuzzer/message_lib/message_file.h b/tools/ipc_fuzzer/message_lib/message_file.h
index 70ab55c749802cec9da9840d9e933a8b7bec0b56..de80ba5910cea4b3eacc6daabb36b03352d0dd53 100644
--- a/tools/ipc_fuzzer/message_lib/message_file.h
+++ b/tools/ipc_fuzzer/message_lib/message_file.h
@@ -5,14 +5,16 @@
#ifndef TOOLS_IPC_FUZZER_MESSAGE_LIB_MESSAGE_FILE_H_
#define TOOLS_IPC_FUZZER_MESSAGE_LIB_MESSAGE_FILE_H_
+#include <memory>
+#include <vector>
+
#include "base/files/file_path.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "ipc/ipc_message.h"
namespace ipc_fuzzer {
-typedef ScopedVector<IPC::Message> MessageVector;
+typedef std::vector<std::unique_ptr<IPC::Message>> MessageVector;
Tom Sepez 2017/07/10 17:45:47 nit: move to |using| while were at it?
Avi (use Gerrit) 2017/07/10 18:44:00 Done.
class MessageFile {
public:

Powered by Google App Engine
This is Rietveld 408576698