Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "tools/ipc_fuzzer/replay/replay_process.h" | |
| 6 | |
| 7 int main(int argc, const char **argv) { | |
| 8 ipc_fuzzer::ReplayProcess replay; | |
| 9 replay.Initialize(argc, argv); | |
| 10 replay.OpenChannel(); | |
|
Tom Sepez
2013/12/05 19:05:49
nit: can OpenChannel fail?
aedla
2013/12/05 23:16:21
It can't. Well, at least for POSIX, the channel ha
| |
| 11 | |
| 12 if (!replay.OpenTestcase()) | |
| 13 return 0; | |
|
Tom Sepez
2013/12/05 19:05:49
return EXIT_FAILURE or 1 to indicate failure.
aedla
2013/12/05 23:16:21
Done.
| |
| 14 | |
| 15 replay.Run(); | |
| 16 return 0; | |
|
Tom Sepez
2013/12/05 19:05:49
nit: return EXIT_SUCCESS just because its more por
aedla
2013/12/05 23:16:21
Done.
| |
| 17 } | |
| OLD | NEW |