Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / tools / ipc_fuzzer / message_replay / replay.cc
blob4f3999d2e9a6538b19235c028c1eebb5d029d016
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.
5 #include <stdlib.h>
7 #include "base/at_exit.h"
8 #include "tools/ipc_fuzzer/message_replay/replay_process.h"
10 int main(int argc, const char** argv) {
11 base::AtExitManager exit_manager;
12 ipc_fuzzer::ReplayProcess replay;
13 if (!replay.Initialize(argc, argv))
14 return EXIT_FAILURE;
16 replay.OpenChannel();
18 if (!replay.OpenTestcase())
19 return EXIT_FAILURE;
21 replay.Run();
22 return EXIT_SUCCESS;