diff options
Diffstat (limited to 'base/test')
| -rw-r--r-- | base/test/perf_test_suite.cc | 4 | ||||
| -rw-r--r-- | base/test/test_suite.cc | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/base/test/perf_test_suite.cc b/base/test/perf_test_suite.cc index b787add..232766a 100644 --- a/base/test/perf_test_suite.cc +++ b/base/test/perf_test_suite.cc @@ -5,7 +5,7 @@ #include "base/test/perf_test_suite.h" #include "base/command_line.h" -#include "base/debug_util.h" +#include "base/debug/debugger.h" #include "base/file_path.h" #include "base/path_service.h" #include "base/perftimer.h" @@ -34,7 +34,7 @@ void PerfTestSuite::Initialize() { // Raise to high priority to have more precise measurements. Since we don't // aim at 1% precision, it is not necessary to run at realtime level. - if (!DebugUtil::BeingDebugged()) + if (!base::debug::BeingDebugged()) base::RaiseProcessToHighPriority(); } diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc index f2e6069..7d25a60 100644 --- a/base/test/test_suite.cc +++ b/base/test/test_suite.cc @@ -10,6 +10,8 @@ #include "base/command_line.h" #include "base/debug_on_start.h" #include "base/debug_util.h" +#include "base/debug/debugger.h" +#include "base/debug/debugger.h" #include "base/file_path.h" #include "base/i18n/icu_util.h" #include "base/logging.h" @@ -191,7 +193,7 @@ void TestSuite::Initialize() { #endif // defined(OS_WIN) // In some cases, we do not want to see standard error dialogs. - if (!DebugUtil::BeingDebugged() && + if (!base::debug::BeingDebugged() && !CommandLine::ForCurrentProcess()->HasSwitch("show-error-dialogs")) { SuppressErrorDialogs(); DebugUtil::SuppressDialogs(); |
