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

Unified Diff: components/breakpad/breakpad_client.h

Issue 19697015: Move dependency on env_vars.h to breakpad client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 5 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
« no previous file with comments | « chrome/app/client_util.cc ('k') | components/breakpad/breakpad_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/breakpad/breakpad_client.h
diff --git a/components/breakpad/breakpad_client.h b/components/breakpad/breakpad_client.h
index 9940a9a5a48bb7e6accb38807f2fd086a0b99511..12dccdea04ae703c6153ac691e4ed391dda4bddf 100644
--- a/components/breakpad/breakpad_client.h
+++ b/components/breakpad/breakpad_client.h
@@ -42,6 +42,18 @@ class BreakpadClient {
base::string16* product_name,
base::string16* version,
base::string16* special_build);
+
+ // Returns true if a restart dialog should be displayed. In that case,
+ // |message| and |title| are set to a message to display in a dialog box with
+ // the given title before restarting, and |is_rtl_locale| indicates whether
+ // to display the text as RTL.
+ virtual bool ShouldShowRestartDialog(base::string16* title,
+ base::string16* message,
+ bool* is_rtl_locale);
+
+ // Returns true if it is ok to restart the application. Invoked right before
+ // restarting after a crash.
+ virtual bool AboutToRestart();
#endif
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS)
@@ -64,6 +76,9 @@ class BreakpadClient {
// Register all of the potential crash keys that can be sent to the crash
// reporting server. Returns the size of the union of all keys.
virtual size_t RegisterCrashKeys();
+
+ // Returns true if running in unattended mode (for automated testing).
+ virtual bool IsRunningUnattended();
};
} // namespace breakpad
« no previous file with comments | « chrome/app/client_util.cc ('k') | components/breakpad/breakpad_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698