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

Side by Side Diff: components/crash/content/app/crash_reporter_client.h

Issue 2697513007: Windows CrashReporterClient cleanups in the wake of InstallDetails everywhere. (Closed)
Patch Set: sync to position 452911 Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_CRASH_CONTENT_APP_CRASH_REPORTER_CLIENT_H_ 5 #ifndef COMPONENTS_CRASH_CONTENT_APP_CRASH_REPORTER_CLIENT_H_
6 #define COMPONENTS_CRASH_CONTENT_APP_CRASH_REPORTER_CLIENT_H_ 6 #define COMPONENTS_CRASH_CONTENT_APP_CRASH_REPORTER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 bool* is_rtl_locale); 87 bool* is_rtl_locale);
88 88
89 // Returns true if it is ok to restart the application. Invoked right before 89 // Returns true if it is ok to restart the application. Invoked right before
90 // restarting after a crash. 90 // restarting after a crash.
91 virtual bool AboutToRestart(); 91 virtual bool AboutToRestart();
92 92
93 // Returns true if the crash report uploader supports deferred uploads. 93 // Returns true if the crash report uploader supports deferred uploads.
94 virtual bool GetDeferredUploadsSupported(bool is_per_user_install); 94 virtual bool GetDeferredUploadsSupported(bool is_per_user_install);
95 95
96 // Returns true if the running binary is a per-user installation. 96 // Returns true if the running binary is a per-user installation.
97 virtual bool GetIsPerUserInstall(const base::string16& exe_path); 97 virtual bool GetIsPerUserInstall();
98 98
99 // Returns true if larger crash dumps should be dumped. 99 // Returns true if larger crash dumps should be dumped.
100 virtual bool GetShouldDumpLargerDumps(bool is_per_user_install); 100 virtual bool GetShouldDumpLargerDumps();
101 101
102 // Returns the result code to return when breakpad failed to respawn a 102 // Returns the result code to return when breakpad failed to respawn a
103 // crashed process. 103 // crashed process.
104 virtual int GetResultCodeRespawnFailed(); 104 virtual int GetResultCodeRespawnFailed();
105 #endif 105 #endif
106 106
107 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) 107 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS)
108 // Returns a textual description of the product type and version to include 108 // Returns a textual description of the product type and version to include
109 // in the crash report. Neither out parameter should be set to NULL. 109 // in the crash report. Neither out parameter should be set to NULL.
110 virtual void GetProductNameAndVersion(const char** product_name, 110 virtual void GetProductNameAndVersion(const char** product_name,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 virtual bool ShouldEnableBreakpadMicrodumps(); 174 virtual bool ShouldEnableBreakpadMicrodumps();
175 #endif 175 #endif
176 176
177 // Returns true if breakpad should run in the given process type. 177 // Returns true if breakpad should run in the given process type.
178 virtual bool EnableBreakpadForProcess(const std::string& process_type); 178 virtual bool EnableBreakpadForProcess(const std::string& process_type);
179 }; 179 };
180 180
181 } // namespace crash_reporter 181 } // namespace crash_reporter
182 182
183 #endif // COMPONENTS_CRASH_CONTENT_APP_CRASH_REPORTER_CLIENT_H_ 183 #endif // COMPONENTS_CRASH_CONTENT_APP_CRASH_REPORTER_CLIENT_H_
OLDNEW
« no previous file with comments | « components/crash/content/app/crash_keys_win_unittest.cc ('k') | components/crash/content/app/crash_reporter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698