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

Unified Diff: chrome/test/base/in_process_browser_test.cc

Issue 10582012: For unit tests, track additions to AtExitManager and warn. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile Created 8 years, 6 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
Index: chrome/test/base/in_process_browser_test.cc
diff --git a/chrome/test/base/in_process_browser_test.cc b/chrome/test/base/in_process_browser_test.cc
index a65d00cbe3f998e07e2bcc8c73ca59141bf3ab76..a3360798fd2b03b19e5c4b8df8f6d977f13f91f0 100644
--- a/chrome/test/base/in_process_browser_test.cc
+++ b/chrome/test/base/in_process_browser_test.cc
@@ -13,6 +13,7 @@
#include "base/path_service.h"
#include "base/string_number_conversions.h"
#include "base/test/test_file_util.h"
+#include "base/test/test_switches.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/io_thread.h"
#include "chrome/browser/lifetime/application_lifetime.h"
@@ -297,8 +298,8 @@ CommandLine InProcessBrowserTest::GetCommandLineForRelaunch() {
CommandLine::SwitchMap switches =
CommandLine::ForCurrentProcess()->GetSwitches();
switches.erase(switches::kUserDataDir);
- switches.erase(test_launcher::kSingleProcessTestsFlag);
- switches.erase(test_launcher::kSingleProcessTestsAndChromeFlag);
+ switches.erase(switches::kSingleProcessTestsFlag);
+ switches.erase(switches::kSingleProcessTestsAndChromeFlag);
new_command_line.AppendSwitch(ChromeTestSuite::kLaunchAsBrowser);
#if defined(USE_AURA)

Powered by Google App Engine
This is Rietveld 408576698