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

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

Issue 7628006: GTTF: Use a fresh TestingBrowserProcess for each test, part #6 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 9 years, 4 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/chrome_test_suite.cc
diff --git a/chrome/test/base/chrome_test_suite.cc b/chrome/test/base/chrome_test_suite.cc
index f765f3dbff2db0e7490d1d137795bcdacf1746b9..b95b39d084fe6ff0862e17d60bafd75d6f083939 100644
--- a/chrome/test/base/chrome_test_suite.cc
+++ b/chrome/test/base/chrome_test_suite.cc
@@ -111,7 +111,7 @@ void ChromeTestSuite::Initialize() {
content::RegisterPathProvider();
ui::RegisterPathProvider();
-#if !defined(OS_WIN)
+#if !defined(OS_WIN) && !defined(OS_LINUX)
// TODO(phajdan.jr): Temporary, for http://crbug.com/61062.
g_browser_process = new TestingBrowserProcess;
#endif
@@ -160,7 +160,7 @@ void ChromeTestSuite::Shutdown() {
base::mac::SetOverrideAppBundle(NULL);
#endif
-#if !defined(OS_WIN)
+#if !defined(OS_WIN) && !defined(OS_LINUX)
// TODO(phajdan.jr): Temporary, for http://crbug.com/61062.
delete g_browser_process;
g_browser_process = NULL;
« no previous file with comments | « chrome/browser/ui/webui/options/language_options_handler_unittest.cc ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698