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

Unified Diff: tools/win_dbghelp.h

Issue 12387018: collect minidump if it chrashes (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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 | « tools/render_pdfs_main.cpp ('k') | tools/win_dbghelp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/win_dbghelp.h
===================================================================
--- tools/win_dbghelp.h (revision 0)
+++ tools/win_dbghelp.h (revision 0)
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2013 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef win_dbghelp_DEFINED
+#define win_dbghelp_DEFINED
+
+#ifdef SK_BUILD_FOR_WIN32
+
+#include <dbghelp.h>
+#include <shellapi.h>
+#include <shlobj.h>
+
+void setAppName(const char* app_name);
+const char* getAppName();
+
+void setBinariesPath(const char* binaries_path);
+const char* getBinariesPath();
+
+void setAppVersion(const char* version);
+const char* getAppVersion();
+
+void setCdbPath(const char* path);
+const char* getCdbPath();
+
+void setUpDebuggingFromArgs(const char* vargs0);
+
+int GenerateDumpAndPrintCallstack(EXCEPTION_POINTERS* pExceptionPointers);
+
+#endif // SK_BUILD_FOR_WIN32
+
+#endif // win_dbghelp_DEFINED
« no previous file with comments | « tools/render_pdfs_main.cpp ('k') | tools/win_dbghelp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698