Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(120)

Unified Diff: src/client/mac/handler/exception_handler.h

Issue 307002: Allow minidump generator to generate ARM minidumps (for iOS on a device). (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: '' Created 13 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/client/mac/handler/exception_handler.cc ('k') | src/client/mac/handler/minidump_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/client/mac/handler/exception_handler.h
===================================================================
--- src/client/mac/handler/exception_handler.h (revision 847)
+++ src/client/mac/handler/exception_handler.h (working copy)
@@ -37,12 +37,16 @@
#define CLIENT_MAC_HANDLER_EXCEPTION_HANDLER_H__
#include <mach/mach.h>
+#include <TargetConditionals.h>
#include <string>
-#include "client/mac/crash_generation/crash_generation_client.h"
#include "processor/scoped_ptr.h"
+#if !TARGET_OS_IPHONE
+#include "client/mac/crash_generation/crash_generation_client.h"
+#endif
+
namespace google_breakpad {
using std::string;
@@ -152,7 +156,11 @@
// Returns whether out-of-process dump generation is used or not.
bool IsOutOfProcess() const {
+#if TARGET_OS_IPHONE
+ return false;
+#else
return crash_generation_client_.get() != NULL;
+#endif
}
private:
@@ -250,8 +258,10 @@
// True, if we're using the mutext to indicate when mindump writing occurs
bool use_minidump_write_mutex_;
+#if !TARGET_OS_IPHONE
// Client for out-of-process dump generation.
scoped_ptr<CrashGenerationClient> crash_generation_client_;
+#endif
};
} // namespace google_breakpad
« no previous file with comments | « src/client/mac/handler/exception_handler.cc ('k') | src/client/mac/handler/minidump_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted