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

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 presubmit warnings; 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
« no previous file with comments | « base/test/test_switches.cc ('k') | content/public/test/test_launcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..34a9c70b4c971ad42d6dba1f37ccc00d815f09e3 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::kSingleProcessChromeFlag);
new_command_line.AppendSwitch(ChromeTestSuite::kLaunchAsBrowser);
#if defined(USE_AURA)
« no previous file with comments | « base/test/test_switches.cc ('k') | content/public/test/test_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698