Index: components/crash/content/app/breakpad_win.cc |
diff --git a/components/crash/content/app/breakpad_win.cc b/components/crash/content/app/breakpad_win.cc |
index 424a0072a1e8c05b5bfd5ff34fcd07e80c71fd2a..9cb1c3b0b0c1854066122d90604d7fab741f82b0 100644 |
--- a/components/crash/content/app/breakpad_win.cc |
+++ b/components/crash/content/app/breakpad_win.cc |
@@ -20,6 +20,7 @@ |
#include "base/debug/crash_logging.h" |
#include "base/debug/dump_without_crashing.h" |
#include "base/environment.h" |
+#include "base/files/file_path.h" |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/numerics/safe_conversions.h" |
@@ -29,7 +30,6 @@ |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/synchronization/lock.h" |
-#include "base/win/metro.h" |
#include "base/win/pe_image.h" |
#include "base/win/registry.h" |
#include "base/win/win_util.h" |
@@ -354,10 +354,6 @@ static bool WrapMessageBoxWithSEH(const wchar_t* text, const wchar_t* caption, |
// spawned and basically just shows the 'chrome has crashed' dialog if |
// the CHROME_CRASHED environment variable is present. |
bool ShowRestartDialogIfCrashed(bool* exit_now) { |
- // If we are being launched in metro mode don't try to show the dialog. |
- if (base::win::IsMetroProcess()) |
- return false; |
- |
base::string16 message; |
base::string16 title; |
bool is_rtl_locale; |