Index: common/mac/launch_reporter.h |
diff --git a/common/solaris/dump_symbols.h b/common/mac/launch_reporter.h |
similarity index 78% |
copy from common/solaris/dump_symbols.h |
copy to common/mac/launch_reporter.h |
index 7f4baadcfca6d00ff849f76e540143a57a72328b..4531123c2df80e772b8e87024e2f16c19183aa6c 100644 |
--- a/common/solaris/dump_symbols.h |
+++ b/common/mac/launch_reporter.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2007, Google Inc. |
+// Copyright (c) 2014, Google Inc. |
// All rights reserved. |
// |
// Redistribution and use in source and binary forms, with or without |
@@ -26,24 +26,18 @@ |
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// |
-// dump_symbols.cc: Implements a Solaris stab debugging format dumper. |
-// |
-// Author: Alfred Peng |
- |
-#ifndef COMMON_SOLARIS_DUMP_SYMBOLS_H__ |
-#define COMMON_SOLARIS_DUMP_SYMBOLS_H__ |
-#include <string> |
+#ifndef COMMON_MAC_LAUNCH_REPORTER_H__ |
+#define COMMON_MAC_LAUNCH_REPORTER_H__ |
namespace google_breakpad { |
-class DumpSymbols { |
- public: |
- bool WriteSymbolFile(const std::string &obj_file, |
- int sym_fd); |
-}; |
+// Launch the crash dump sender app. |
+// |reporter_executable_path| is the path to the sender executable. |
+// |config_file_path| is the path to the config file. |
+void LaunchReporter(const char *reporter_executable_path, |
+ const char *config_file_path); |
} // namespace google_breakpad |
-#endif // COMMON_SOLARIS_DUMP_SYMBOLS_H__ |
+#endif // COMMON_MAC_LAUNCH_REPORTER_H__ |