1a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// Copyright (c) 2014, Google Inc.
2a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// All rights reserved.
3a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org//
4a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// Redistribution and use in source and binary forms, with or without
5a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// modification, are permitted provided that the following conditions are
6a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// met:
7a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org//
8a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org//     * Redistributions of source code must retain the above copyright
9a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// notice, this list of conditions and the following disclaimer.
10a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org//     * Redistributions in binary form must reproduce the above
11a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// copyright notice, this list of conditions and the following disclaimer
12a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// in the documentation and/or other materials provided with the
13a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// distribution.
14a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org//     * Neither the name of Google Inc. nor the names of its
15a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// contributors may be used to endorse or promote products derived from
16a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// this software without specific prior written permission.
17a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org//
18a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org
30a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org#ifndef COMMON_MAC_LAUNCH_REPORTER_H__
31a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org#define COMMON_MAC_LAUNCH_REPORTER_H__
32a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org
33a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.orgnamespace google_breakpad {
34a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org
35a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// Launch the crash dump sender app.
36a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// |reporter_executable_path| is the path to the sender executable.
37a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org// |config_file_path| is the path to the config file.
38a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.orgvoid LaunchReporter(const char *reporter_executable_path,
39a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org                    const char *config_file_path);
40a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org
41a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org}  // namespace google_breakpad
42a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org
43a5ae6624dbbee0a011b74c2d87e2351f0bb75d16andresantoso@chromium.org#endif  // COMMON_MAC_LAUNCH_REPORTER_H__
44