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

Unified Diff: chrome/app/chrome_breakpad_client.cc

Issue 23405002: This change modifies behavior of crash dialog in case of aura metro. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes according to code review comments. Created 7 years, 4 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 | « no previous file | chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_breakpad_client.cc
diff --git a/chrome/app/chrome_breakpad_client.cc b/chrome/app/chrome_breakpad_client.cc
index 2c0936ed9f5c318da3f6ef7bbcaa13f8cb75ec84..9ac5e74793701011e4534a7e2ace29e8f2105c45 100644
--- a/chrome/app/chrome_breakpad_client.cc
+++ b/chrome/app/chrome_breakpad_client.cc
@@ -119,7 +119,8 @@ bool ChromeBreakpadClient::ShouldShowRestartDialog(base::string16* title,
bool* is_rtl_locale) {
scoped_ptr<base::Environment> env(base::Environment::Create());
if (!env->HasVar(env_vars::kShowRestart) ||
- !env->HasVar(env_vars::kRestartInfo)) {
+ !env->HasVar(env_vars::kRestartInfo) ||
+ env->HasVar(env_vars::kMetroConnected)) {
return false;
}
« no previous file with comments | « no previous file | chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698