Chromium Code Reviews| 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); |
| }; |