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

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

Issue 10834010: Revert 144488 - For unit tests, track additions to AtExitManager and warn. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
===================================================================
--- chrome/test/base/in_process_browser_test.cc (revision 148403)
+++ chrome/test/base/in_process_browser_test.cc (working copy)
@@ -13,7 +13,6 @@
#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"
@@ -284,8 +283,8 @@
CommandLine::SwitchMap switches =
CommandLine::ForCurrentProcess()->GetSwitches();
switches.erase(switches::kUserDataDir);
- switches.erase(switches::kSingleProcessTestsFlag);
- switches.erase(switches::kSingleProcessChromeFlag);
+ switches.erase(test_launcher::kSingleProcessTestsFlag);
+ switches.erase(test_launcher::kSingleProcessTestsAndChromeFlag);
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