Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Unified Diff: common/mac/launch_reporter.h

Issue 571523004: Mac: Add support for in-process crash reporting (Closed) Base URL: https://chromium.googlesource.com/external/google-breakpad/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/mac/crash_generation/Inspector.mm ('k') | common/mac/launch_reporter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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__
« no previous file with comments | « client/mac/crash_generation/Inspector.mm ('k') | common/mac/launch_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698