From b16ba355291667e21dcd5f13e09272ee572a9566 Mon Sep 17 00:00:00 2001 From: "kinuko@chromium.org" Date: Mon, 24 May 2010 06:26:43 +0000 Subject: Revert 48015 - Make outofprocess tests output correct XML file (filepath fixed) Original issue was: http://codereview.chromium.org/2071001/show (reverted due to build break) Disable XML output for children Output XML file with failed, disabled and timing information in the parent launcher process. BUG=40473,42781 TEST=run the browser_tests (or other tests that uses outofproctest runner) with 1) gtest_output=xml 2) gtest_output=xml:test.xml 3) gtest_output=xml:/tmp/ and see if the output XML file (test_detail.xml for 1), test.xml for 2), /tmp/browser_tests.xml for 3)) contains correct information. Review URL: http://codereview.chromium.org/2071001 Review URL: http://codereview.chromium.org/2067022 TBR=satorux@chromium.org Review URL: http://codereview.chromium.org/2161001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48019 0039d316-1c4b-4281-b951-d872f2087c98 --- base/command_line.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'base/command_line.h') diff --git a/base/command_line.h b/base/command_line.h index b2b4185..b6b1028 100644 --- a/base/command_line.h +++ b/base/command_line.h @@ -129,11 +129,8 @@ class CommandLine { // Get the number of switches in this process. size_t GetSwitchCount() const { return switches_.size(); } - // The type of map for parsed-out switch key and values. - typedef std::map SwitchMap; - // Get a copy of all switches, along with their values - SwitchMap GetSwitches() const { + std::map GetSwitches() const { return switches_; } @@ -235,7 +232,7 @@ class CommandLine { StringType* switch_value); // Parsed-out values. - SwitchMap switches_; + std::map switches_; // Non-switch command-line arguments. std::vector loose_values_; -- cgit v1.1