diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 01:38:50 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 01:38:50 +0000 |
commit | 46c4e184b382e2d385778882890d3f241b574ecb (patch) | |
tree | 34fa1cd0cf6ccdfbb3b0179f6385643a7f409ef0 /chrome/test/ui | |
parent | 1ea501f7f098c5a439f6ebdd132af03baa06410e (diff) | |
download | chromium_src-46c4e184b382e2d385778882890d3f241b574ecb.zip chromium_src-46c4e184b382e2d385778882890d3f241b574ecb.tar.gz chromium_src-46c4e184b382e2d385778882890d3f241b574ecb.tar.bz2 |
Don't expose --single-process and --in-process-plugins for official Chrome releases.
Review URL: http://codereview.chromium.org/28347
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10771 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui')
-rw-r--r-- | chrome/test/ui/ui_test.cc | 3 | ||||
-rw-r--r-- | chrome/test/ui/ui_test.h | 8 | ||||
-rw-r--r-- | chrome/test/ui/ui_test_suite.h | 2 |
3 files changed, 0 insertions, 13 deletions
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc index 2124ba7..b5ef095 100644 --- a/chrome/test/ui/ui_test.cc +++ b/chrome/test/ui/ui_test.cc @@ -48,7 +48,6 @@ const wchar_t UITest::kFailedNoCrashService[] = L"running. Start it manually before running this test (see the build " L"output directory)."; bool UITest::in_process_renderer_ = false; -bool UITest::in_process_plugins_ = false; bool UITest::no_sandbox_ = false; bool UITest::full_memory_dump_ = false; bool UITest::safe_plugins_ = false; @@ -292,8 +291,6 @@ void UITest::LaunchBrowser(const CommandLine& arguments, bool clear_profile) { } if (in_process_renderer_) command_line.AppendSwitch(switches::kSingleProcess); - if (in_process_plugins_) - command_line.AppendSwitch(switches::kInProcessPlugins); if (no_sandbox_) command_line.AppendSwitch(switches::kNoSandbox); if (full_memory_dump_) diff --git a/chrome/test/ui/ui_test.h b/chrome/test/ui/ui_test.h index 1bec6cf..a2f1ce8 100644 --- a/chrome/test/ui/ui_test.h +++ b/chrome/test/ui/ui_test.h @@ -223,13 +223,6 @@ class UITest : public testing::Test { in_process_renderer_ = value; } - // Get/Set a flag to run the plugins in the renderer process when running the - // tests. - static bool in_process_plugins() { return in_process_plugins_; } - static void set_in_process_plugins(bool value) { - in_process_plugins_ = value; - } - // Get/Set a flag to run the renderer outside the sandbox when running the // tests static bool no_sandbox() { return no_sandbox_; } @@ -428,7 +421,6 @@ class UITest : public testing::Test { FILETIME test_start_time_; // Time the test was started // (so we can check for new crash dumps) #endif - static bool in_process_plugins_; static bool no_sandbox_; static bool safe_plugins_; static bool full_memory_dump_; // If true, write full memory dump diff --git a/chrome/test/ui/ui_test_suite.h b/chrome/test/ui/ui_test_suite.h index d450a71..4961b3f 100644 --- a/chrome/test/ui/ui_test_suite.h +++ b/chrome/test/ui/ui_test_suite.h @@ -21,8 +21,6 @@ class UITestSuite : public ChromeTestSuite { const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess(); UITest::set_in_process_renderer( parsed_command_line.HasSwitch(switches::kSingleProcess)); - UITest::set_in_process_plugins( - parsed_command_line.HasSwitch(switches::kInProcessPlugins)); UITest::set_no_sandbox( parsed_command_line.HasSwitch(switches::kNoSandbox)); UITest::set_full_memory_dump( |