| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include <stdlib.h> | 5 #include <stdlib.h> |
| 6 | 6 |
| 7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
| 8 #include "tools/ipc_fuzzer/replay/replay_process.h" | 8 #include "tools/ipc_fuzzer/message_replay/replay_process.h" |
| 9 | 9 |
| 10 int main(int argc, const char** argv) { | 10 int main(int argc, const char** argv) { |
| 11 base::AtExitManager exit_manager; | 11 base::AtExitManager exit_manager; |
| 12 ipc_fuzzer::ReplayProcess replay; | 12 ipc_fuzzer::ReplayProcess replay; |
| 13 if (!replay.Initialize(argc, argv)) | 13 if (!replay.Initialize(argc, argv)) |
| 14 return EXIT_FAILURE; | 14 return EXIT_FAILURE; |
| 15 | 15 |
| 16 replay.OpenChannel(); | 16 replay.OpenChannel(); |
| 17 | 17 |
| 18 if (!replay.OpenTestcase()) | 18 if (!replay.OpenTestcase()) |
| 19 return EXIT_FAILURE; | 19 return EXIT_FAILURE; |
| 20 | 20 |
| 21 replay.Run(); | 21 replay.Run(); |
| 22 return EXIT_SUCCESS; | 22 return EXIT_SUCCESS; |
| 23 } | 23 } |
| OLD | NEW |