summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authormpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-11 19:27:53 +0000
committermpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-11 19:27:53 +0000
commit844b9992391fd83a406e2b0f9a53d1351d4c8a5a (patch)
treee12622c206efb2f1c37bf30f701dce3af63eaffb /chrome
parentb8889fa5e6eab350802689bb76f4081857977add (diff)
downloadchromium_src-844b9992391fd83a406e2b0f9a53d1351d4c8a5a.zip
chromium_src-844b9992391fd83a406e2b0f9a53d1351d4c8a5a.tar.gz
chromium_src-844b9992391fd83a406e2b0f9a53d1351d4c8a5a.tar.bz2
Reverting 11467.
Review URL: http://codereview.chromium.org/43093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11471 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rwxr-xr-xchrome/browser/extensions/extension_view_unittest.cc3
-rw-r--r--chrome/test/in_process_browser_test.cc6
-rw-r--r--chrome/test/in_process_browser_test.h4
3 files changed, 1 insertions, 12 deletions
diff --git a/chrome/browser/extensions/extension_view_unittest.cc b/chrome/browser/extensions/extension_view_unittest.cc
index 4003954..102b9bb 100755
--- a/chrome/browser/extensions/extension_view_unittest.cc
+++ b/chrome/browser/extensions/extension_view_unittest.cc
@@ -104,9 +104,6 @@ class ExtensionViewTest : public InProcessBrowserTest {
// with the wrong MessageLoop.
ExtensionErrorReporter::Init(false);
- // Use single-process in an attempt to speed it up and make it less flaky.
- EnableSingleProcess();
-
InProcessBrowserTest::SetUp();
}
};
diff --git a/chrome/test/in_process_browser_test.cc b/chrome/test/in_process_browser_test.cc
index 2fe5a3bd..aec6391 100644
--- a/chrome/test/in_process_browser_test.cc
+++ b/chrome/test/in_process_browser_test.cc
@@ -47,8 +47,7 @@ bool DieFileDie(const std::wstring& file, bool recurse) {
InProcessBrowserTest::InProcessBrowserTest()
: browser_(NULL),
show_window_(false),
- dom_automation_enabled_(false),
- single_process_(false) {
+ dom_automation_enabled_(false) {
}
void InProcessBrowserTest::SetUp() {
@@ -79,9 +78,6 @@ void InProcessBrowserTest::SetUp() {
if (dom_automation_enabled_)
command_line->AppendSwitch(switches::kDomAutomationController);
- if (single_process_)
- command_line->AppendSwitch(switches::kSingleProcess);
-
command_line->AppendSwitchWithValue(switches::kUserDataDir, user_data_dir);
// For some reason the sandbox wasn't happy running in test mode. These
diff --git a/chrome/test/in_process_browser_test.h b/chrome/test/in_process_browser_test.h
index 481103e..90dcdc9 100644
--- a/chrome/test/in_process_browser_test.h
+++ b/chrome/test/in_process_browser_test.h
@@ -77,7 +77,6 @@ class InProcessBrowserTest : public testing::Test, public NotificationObserver {
// constructor.
void set_show_window(bool show) { show_window_ = show; }
void EnableDOMAutomation() { dom_automation_enabled_ = true; }
- void EnableSingleProcess() { single_process_ = true; }
private:
// Invokes CreateBrowser to create a browser, then RunTestOnMainThread, and
@@ -101,9 +100,6 @@ class InProcessBrowserTest : public testing::Test, public NotificationObserver {
// that can send messages back to the browser).
bool dom_automation_enabled_;
- // Whether to run the test in single-process mode.
- bool single_process_;
-
DISALLOW_COPY_AND_ASSIGN(InProcessBrowserTest);
};