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

Unified Diff: chrome/installer/setup/installer_crash_reporting.h

Issue 1475643004: Add crash keys for the installer covering simple InstallerState fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review comments Created 5 years, 1 month 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
Index: chrome/installer/setup/installer_crash_reporting.h
diff --git a/chrome/installer/setup/installer_crash_reporting.h b/chrome/installer/setup/installer_crash_reporting.h
new file mode 100644
index 0000000000000000000000000000000000000000..fcbc606eed8acb10e0e7d426132d30bab4728c2a
--- /dev/null
+++ b/chrome/installer/setup/installer_crash_reporting.h
@@ -0,0 +1,28 @@
+// Copyright 2015 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.
+
+#ifndef CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_
+#define CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_
+
+#include <vector>
+
+#include "base/debug/crash_logging.h"
+
+namespace installer {
+
+class InstallerState;
+
+// Set up the crash reporting system for the installer.
grt (UTC plus 2) 2015/11/26 21:37:18 nit "Sets up..." as per https://google.github.io/s
Joe Mason 2015/11/26 22:28:54 Done.
+void ConfigureCrashReporting(const InstallerState& installer_state);
+
+// Add the installer's default crash keys to |keys|.
grt (UTC plus 2) 2015/11/26 21:37:18 What does "default" mean? If this is to support ot
Joe Mason 2015/11/26 22:28:54 Done.
+void GetCrashKeys(std::vector<base::debug::CrashKey>* keys);
+
+// Set all crash keys that are available after initializing |installer_state|
grt (UTC plus 2) 2015/11/26 21:37:18 I think you're describing an implementation detail
Joe Mason 2015/11/26 22:28:54 Since these keys don't vary, there's no need to ca
+// and do not vary during execution.
+void SetInitialCrashKeys(const InstallerState& installer_state);
+
+} // namespace installer
+
+#endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTING_H_

Powered by Google App Engine
This is Rietveld 408576698