diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 23:41:22 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 23:41:22 +0000 |
commit | 75f1c78e253686c71e4294a48b744375d0fe8560 (patch) | |
tree | 37bcb158f88c33e0e13cb26010ea7b35ae8e118c /media/tools | |
parent | 8e63df81baee6cc66979255525cd900e00977969 (diff) | |
download | chromium_src-75f1c78e253686c71e4294a48b744375d0fe8560.zip chromium_src-75f1c78e253686c71e4294a48b744375d0fe8560.tar.gz chromium_src-75f1c78e253686c71e4294a48b744375d0fe8560.tar.bz2 |
Rename CommandLine::GetArgs(), update callers.
BUG=73195
TEST=none
Review URL: http://codereview.chromium.org/7352006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92448 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/tools')
-rw-r--r-- | media/tools/media_bench/media_bench.cc | 2 | ||||
-rw-r--r-- | media/tools/player_wtl/player_wtl.cc | 4 | ||||
-rw-r--r-- | media/tools/scaler_bench/scaler_bench.cc | 2 | ||||
-rw-r--r-- | media/tools/wav_ola_test/wav_ola_test.cc | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/media/tools/media_bench/media_bench.cc b/media/tools/media_bench/media_bench.cc index beeed6f..1bf45bc 100644 --- a/media/tools/media_bench/media_bench.cc +++ b/media/tools/media_bench/media_bench.cc @@ -91,7 +91,7 @@ int main(int argc, const char** argv) { CommandLine::Init(argc, argv); const CommandLine* cmd_line = CommandLine::ForCurrentProcess(); - const std::vector<CommandLine::StringType>& filenames = cmd_line->args(); + const CommandLine::StringVector& filenames = cmd_line->GetArgs(); if (filenames.empty()) { std::cerr << "Usage: " << argv[0] << " [OPTIONS] FILE [DUMPFILE]\n" << " --stream=[audio|video] " diff --git a/media/tools/player_wtl/player_wtl.cc b/media/tools/player_wtl/player_wtl.cc index b1dbabc..72ba193 100644 --- a/media/tools/player_wtl/player_wtl.cc +++ b/media/tools/player_wtl/player_wtl.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -31,7 +31,7 @@ int Run(wchar_t* win_cmd_line, int cmd_show) { CommandLine::Init(0, NULL); const CommandLine* cmd_line = CommandLine::ForCurrentProcess(); - const std::vector<std::wstring>& filenames = cmd_line->args(); + const CommandLine::StringVector& filenames = cmd_line->GetArgs(); CMessageLoop the_loop; g_module.AddMessageLoop(&the_loop); diff --git a/media/tools/scaler_bench/scaler_bench.cc b/media/tools/scaler_bench/scaler_bench.cc index d56cb23..5a5e093 100644 --- a/media/tools/scaler_bench/scaler_bench.cc +++ b/media/tools/scaler_bench/scaler_bench.cc @@ -160,7 +160,7 @@ int main(int argc, const char** argv) { CommandLine::Init(argc, argv); const CommandLine* cmd_line = CommandLine::ForCurrentProcess(); - if (!cmd_line->args().empty()) { + if (!cmd_line->GetArgs().empty()) { std::cerr << "Usage: " << argv[0] << " [OPTIONS]\n" << " --frames=N " << "Number of frames\n" diff --git a/media/tools/wav_ola_test/wav_ola_test.cc b/media/tools/wav_ola_test/wav_ola_test.cc index 2561baf5..d3a59a8 100644 --- a/media/tools/wav_ola_test/wav_ola_test.cc +++ b/media/tools/wav_ola_test/wav_ola_test.cc @@ -73,7 +73,7 @@ int main(int argc, const char** argv) { CommandLine::Init(argc, argv); const CommandLine* cmd_line = CommandLine::ForCurrentProcess(); - const std::vector<CommandLine::StringType>& filenames = cmd_line->args(); + const CommandLine::StringVector& filenames = cmd_line->GetArgs(); if (filenames.empty()) { std::cerr << "Usage: " << argv[0] << " RATE INFILE OUTFILE\n" << std::endl; |