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

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
« no previous file with comments | « tools/ipc_fuzzer/message_dump/message_dump.cc ('k') | tools/ipc_fuzzer/message_lib/message_file_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7afaa9b754a5d055609feac6c597d4b96ab3a2e8 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;
+using MessageVector = std::vector<std::unique_ptr<IPC::Message>>;
class MessageFile {
public:
« no previous file with comments | « tools/ipc_fuzzer/message_dump/message_dump.cc ('k') | tools/ipc_fuzzer/message_lib/message_file_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698