Searched refs:env_changes (Results 1 – 2 of 2) sorted by relevance
/external/chromium/base/ |
D | process_util_unittest.cc | 474 std::string TestLaunchApp(const base::environment_vector& env_changes) { in TestLaunchApp() argument 487 EXPECT_TRUE(base::LaunchApp(args, env_changes, fds_to_remap, in TestLaunchApp() 512 base::environment_vector env_changes; in TEST_F() local 514 env_changes.push_back(std::make_pair(std::string("BASE_TEST"), in TEST_F() 516 EXPECT_EQ("bar\n", TestLaunchApp(env_changes)); in TEST_F() 517 env_changes.clear(); in TEST_F() 520 EXPECT_EQ("testing\n", TestLaunchApp(env_changes)); in TEST_F() 522 env_changes.push_back(std::make_pair(std::string("BASE_TEST"), in TEST_F() 524 EXPECT_EQ("\n", TestLaunchApp(env_changes)); in TEST_F() 526 env_changes[0].second = "foo"; in TEST_F() [all …]
|
D | process_util_posix.cc | 504 const environment_vector& env_changes, in LaunchAppImpl() argument 514 scoped_array<char*> new_environ(AlterEnvironment(env_changes, environ)); in LaunchAppImpl() 632 const environment_vector& env_changes, in LaunchApp() argument 636 return LaunchAppImpl(argv, env_changes, fds_to_remap, in LaunchApp() 642 const environment_vector& env_changes, in LaunchAppInNewProcessGroup() argument 646 return LaunchAppImpl(argv, env_changes, fds_to_remap, wait, in LaunchAppInNewProcessGroup()
|