summaryrefslogtreecommitdiffstats
path: root/chrome/service/service_process_unittest.cc
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-21 03:36:31 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-21 03:36:31 +0000
commit947446bd2c19777f7f20b9b14085dc31cdb73d1a (patch)
treea5a6965d00cd420035ccf80cf1498f7a2f1ca90a /chrome/service/service_process_unittest.cc
parent1f6228c2bfc056e876cbfd5b585f6d07d8f7313c (diff)
downloadchromium_src-947446bd2c19777f7f20b9b14085dc31cdb73d1a.zip
chromium_src-947446bd2c19777f7f20b9b14085dc31cdb73d1a.tar.gz
chromium_src-947446bd2c19777f7f20b9b14085dc31cdb73d1a.tar.bz2
Rename CommandLine::ARGUMENTS_ONLY to NO_PROGRAM.
ARGUMENTS_ONLY was misleading since CommandLine has methods for handling "switches" and "arguments", but that constructor still allows both. BUG=none TEST=still builds Review URL: http://codereview.chromium.org/3935001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63325 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service/service_process_unittest.cc')
-rw-r--r--chrome/service/service_process_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/service/service_process_unittest.cc b/chrome/service/service_process_unittest.cc
index 884da04..1de1492 100644
--- a/chrome/service/service_process_unittest.cc
+++ b/chrome/service/service_process_unittest.cc
@@ -17,7 +17,7 @@
TEST(ServiceProcessTest, DISABLED_Run) {
MessageLoopForUI main_message_loop;
ServiceProcess process;
- CommandLine command_line(CommandLine::ARGUMENTS_ONLY);
+ CommandLine command_line(CommandLine::NO_PROGRAM);
EXPECT_TRUE(process.Initialize(&main_message_loop, command_line));
EXPECT_TRUE(process.Teardown());
}
@@ -27,7 +27,7 @@ TEST(ServiceProcessTest, DISABLED_Run) {
TEST(ServiceProcessTest, DISABLED_RunChromoting) {
MessageLoopForUI main_message_loop;
ServiceProcess process;
- CommandLine command_line(CommandLine::ARGUMENTS_ONLY);
+ CommandLine command_line(CommandLine::NO_PROGRAM);
EXPECT_TRUE(process.Initialize(&main_message_loop, command_line));
// Then config the chromoting host and start it.
@@ -52,7 +52,7 @@ ACTION_P(QuitMessageLoop, message_loop) {
TEST(ServiceProcessTest, DISABLED_RunChromotingUntilShutdown) {
MessageLoopForUI main_message_loop;
MockServiceProcess process;
- CommandLine command_line(CommandLine::ARGUMENTS_ONLY);
+ CommandLine command_line(CommandLine::NO_PROGRAM);
EXPECT_TRUE(process.Initialize(&main_message_loop, command_line));
// Expect chromoting shutdown be called because the login token is invalid.