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

Unified Diff: chrome/app/chrome_crash_reporter_client_win.h

Issue 2372633002: Use the correct product/version for postmortem reports (Closed)
Patch Set: Created 4 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
Index: chrome/app/chrome_crash_reporter_client_win.h
diff --git a/chrome/app/chrome_crash_reporter_client_win.h b/chrome/app/chrome_crash_reporter_client_win.h
index 8dc896444f91fb0ae1f7b5a08d34cee575e60235..450aba7383113c7c76fc2a49e3041659121738c8 100644
--- a/chrome/app/chrome_crash_reporter_client_win.h
+++ b/chrome/app/chrome_crash_reporter_client_win.h
@@ -6,6 +6,7 @@
#define CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_
#include "base/macros.h"
+#include "base/strings/string16.h"
#include "components/crash/content/app/crash_reporter_client.h"
class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient {
@@ -52,6 +53,15 @@ class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient {
bool EnableBreakpadForProcess(const std::string& process_type) override;
private:
+ // Cached to ensure consistency across calls and because the functions that
grt (UTC plus 2) 2016/09/26 18:59:06 while i think this caching is ultimately the right
manzagop (departed) 2016/09/27 19:37:52 I've made the switch to directly call install stat
+ // populate these are known to unexpectedly experience crashes on some users'
+ // machines.
+ base::string16 exe_path_;
+ base::string16 product_name_;
+ base::string16 version_;
+ base::string16 special_build_;
+ base::string16 channel_name_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient);
};
« no previous file with comments | « no previous file | chrome/app/chrome_crash_reporter_client_win.cc » ('j') | chrome/app/chrome_crash_reporter_client_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698