summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-01 16:08:52 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-01 16:08:52 +0000
commitd028296ec1c0fdfbd40e2390ca3121de7055295d (patch)
treeda32e476d290074ceaaaaee65659e54a2dae822f /chrome
parent1e3d150462ba6d3f9952e2ee976cb26396e3452c (diff)
downloadchromium_src-d028296ec1c0fdfbd40e2390ca3121de7055295d.zip
chromium_src-d028296ec1c0fdfbd40e2390ca3121de7055295d.tar.gz
chromium_src-d028296ec1c0fdfbd40e2390ca3121de7055295d.tar.bz2
Remove base/debug_util. Move the debug UI related functions to base/debug/debugger.h
Move the OS X specific crash report changing function to base/mac/os_crash_dumps TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6092005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70358 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/app/chrome_main.cc4
-rw-r--r--chrome/browser/ui/cocoa/cocoa_test_helper.h1
-rw-r--r--chrome/browser/ui/cocoa/objc_zombie.mm2
-rw-r--r--chrome/common/sandbox_mac.mm2
4 files changed, 3 insertions, 6 deletions
diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc
index 1b464a6..e916f95 100644
--- a/chrome/app/chrome_main.cc
+++ b/chrome/app/chrome_main.cc
@@ -8,7 +8,6 @@
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/debug/debugger.h"
-#include "base/debug_util.h"
#include "base/i18n/icu_util.h"
#include "base/mac/scoped_nsautorelease_pool.h"
#include "base/message_loop.h"
@@ -49,6 +48,7 @@
#if defined(OS_MACOSX)
#include "app/l10n_util_mac.h"
+#include "base/mac/os_crash_dumps.h"
#include "base/mac_util.h"
#include "base/mach_ipc_mac.h"
#include "chrome/app/breakpad_mac.h"
@@ -749,7 +749,7 @@ int ChromeMain(int argc, char** argv) {
bool disable_apple_crash_reporter = is_debug_build
|| mac_util::IsBackgroundOnlyProcess();
if (!IsCrashReporterEnabled() && disable_apple_crash_reporter) {
- DebugUtil::DisableOSCrashDumps();
+ base::mac::DisableOSCrashDumps();
}
}
diff --git a/chrome/browser/ui/cocoa/cocoa_test_helper.h b/chrome/browser/ui/cocoa/cocoa_test_helper.h
index 0be5903..f6c9bb8 100644
--- a/chrome/browser/ui/cocoa/cocoa_test_helper.h
+++ b/chrome/browser/ui/cocoa/cocoa_test_helper.h
@@ -8,7 +8,6 @@
#import <Cocoa/Cocoa.h>
-#include "base/debug_util.h"
#include "base/mac_util.h"
#include "base/path_service.h"
#import "base/mac/scoped_nsautorelease_pool.h"
diff --git a/chrome/browser/ui/cocoa/objc_zombie.mm b/chrome/browser/ui/cocoa/objc_zombie.mm
index 6802fd2..5cf6469 100644
--- a/chrome/browser/ui/cocoa/objc_zombie.mm
+++ b/chrome/browser/ui/cocoa/objc_zombie.mm
@@ -205,7 +205,7 @@ void ZombieObjectCrash(id object, SEL aSelector, SEL viaSelector) {
LOG(ERROR) << [aString UTF8String];
// This is how about:crash is implemented. Using instead of
- // |DebugUtil::BreakDebugger()| or |LOG(FATAL)| to make the top of
+ // |baes::debug::BreakDebugger()| or |LOG(FATAL)| to make the top of
// stack more immediately obvious in crash dumps.
int* zero = NULL;
*zero = 0;
diff --git a/chrome/common/sandbox_mac.mm b/chrome/common/sandbox_mac.mm
index b5f9d22..d0b160a 100644
--- a/chrome/common/sandbox_mac.mm
+++ b/chrome/common/sandbox_mac.mm
@@ -4,8 +4,6 @@
#include "chrome/common/sandbox_mac.h"
-#include "base/debug_util.h"
-
#import <Cocoa/Cocoa.h>
#import <OpenGL/OpenGL.h>