summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_reporting.h
diff options
context:
space:
mode:
authormad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 21:49:22 +0000
committermad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 21:49:22 +0000
commit53556e1b386f14de94d97351e47774b97c0ed753 (patch)
tree28af40eb2fad4715b62b7a9d6947cb2690a8d447 /chrome_frame/chrome_frame_reporting.h
parentf08e47dbfce4823386bef263924be4836d7d8f86 (diff)
downloadchromium_src-53556e1b386f14de94d97351e47774b97c0ed753.zip
chromium_src-53556e1b386f14de94d97351e47774b97c0ed753.tar.gz
chromium_src-53556e1b386f14de94d97351e47774b97c0ed753.tar.bz2
Committing for Steven who got LGTM from here:
http://codereview.chromium.org/264068 BUG=none TEST=none Review URL: http://codereview.chromium.org/276050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29196 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_reporting.h')
-rw-r--r--chrome_frame/chrome_frame_reporting.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame_reporting.h b/chrome_frame/chrome_frame_reporting.h
new file mode 100644
index 0000000..94bfbdc
--- /dev/null
+++ b/chrome_frame/chrome_frame_reporting.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// A wrapper around common crash reporting code to manage reporting for Chrome
+// Frame.
+
+#ifndef CHROME_FRAME_CHROME_FRAME_REPORTING_H_
+#define CHROME_FRAME_CHROME_FRAME_REPORTING_H_
+
+#include "chrome_frame/crash_reporting/crash_report.h"
+
+extern const wchar_t kSystemPrincipalSid[];
+
+// Intialize crash reporting for Chrome Frame. Specific parameters here include
+// using the temp directory for dumps, determining if the install is system
+// wide or user specific, and customized client info.
+bool InitializeCrashReporting();
+
+// Shut down crash reporting for Chrome Frame.
+bool ShutdownCrashReporting();
+
+#endif // CHROME_FRAME_CHROME_FRAME_REPORTING_H_