diff options
author | nick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-21 16:16:56 +0000 |
---|---|---|
committer | nick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-21 16:16:56 +0000 |
commit | 9a93c4b8afba617a4da5ec42aabebc84383e88f9 (patch) | |
tree | 944b56193e7870f97877836e490556b0983f5b0a /base/command_line.h | |
parent | 2a63f7479c4f3a819b6b95389e0aacd5dd8523d3 (diff) | |
download | chromium_src-9a93c4b8afba617a4da5ec42aabebc84383e88f9.zip chromium_src-9a93c4b8afba617a4da5ec42aabebc84383e88f9.tar.gz chromium_src-9a93c4b8afba617a4da5ec42aabebc84383e88f9.tar.bz2 |
Revert 47917 - Make outofprocess tests output correct XML file
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
TBR=kinuko@chromium.org
Review URL: http://codereview.chromium.org/2119016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47920 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/command_line.h')
-rw-r--r-- | base/command_line.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/base/command_line.h b/base/command_line.h index b87fb1b..864cb56 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<std::string, StringType> SwitchMap; - // Get a copy of all switches, along with their values - SwitchMap GetSwitches() const { + std::map<std::string, StringType> GetSwitches() const { return switches_; } @@ -232,7 +229,7 @@ class CommandLine { StringType* switch_value); // Parsed-out values. - SwitchMap switches_; + std::map<std::string, StringType> switches_; // Non-switch command-line arguments. std::vector<StringType> loose_values_; |