x11: Use scoped_ptr<> for X11 objects where it makes sense.
[chromium-blink-merge.git] / tools / ipc_fuzzer / replay / replay.cc
blob90db765d50140fca7c2eea034d6267b9267772ce
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/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;