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

Unified Diff: chrome/browser/metrics/thread_watcher.cc

Issue 99523009: Move DumpProcessWithoutCrash to base, so we can use it from net and content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years 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
Index: chrome/browser/metrics/thread_watcher.cc
diff --git a/chrome/browser/metrics/thread_watcher.cc b/chrome/browser/metrics/thread_watcher.cc
index 66dbbd62120ef7af74e16a1b78579e77dce6408f..74b3df8f22b557c75261ecc632a08a1a61c7f8bf 100644
--- a/chrome/browser/metrics/thread_watcher.cc
+++ b/chrome/browser/metrics/thread_watcher.cc
@@ -9,6 +9,7 @@
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/debug/alias.h"
+#include "base/debug/dump_without_crashing.h"
#include "base/lazy_instance.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
@@ -19,7 +20,6 @@
#include "chrome/browser/metrics/metrics_service.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/chrome_version_info.h"
-#include "chrome/common/dump_without_crashing.h"
#include "chrome/common/logging_chrome.h"
#if defined(OS_WIN)
@@ -49,7 +49,7 @@ void NullPointerCrash(int line_number) {
#ifndef NDEBUG
*NullPointer() = line_number; // Crash.
#else
- logging::DumpWithoutCrashing();
+ base::debug::DumpWithoutCrashing();
#endif
}
@@ -861,7 +861,7 @@ class StartupWatchDogThread : public base::Watchdog {
#ifndef NDEBUG
DCHECK(false);
#else
- logging::DumpWithoutCrashing();
+ base::debug::DumpWithoutCrashing();
#endif
}
« no previous file with comments | « chrome/browser/history/thumbnail_database.cc ('k') | chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698