Lines Matching defs:config
85 bool StartInstance(DHCPv6ConfigRefPtr config) {
86 return config->Start();
95 void StopRunningConfigAndExpect(DHCPv6ConfigRefPtr config,
117 DHCPv6ConfigRefPtr config(new DHCPv6Config(&control_,
122 config->process_manager_ = &process_manager_;
124 return config;
129 DHCPv6ConfigRefPtr config(new DHCPv6Config(&control_,
134 config->process_manager_ = &process_manager_;
137 EXPECT_CALL(provider_, BindPID(kPID, IsRefPtrTo(config)));
138 EXPECT_TRUE(config->Start());
139 EXPECT_EQ(kPID, config->pid_);
142 config->root_ = temp_dir_.path();
155 return config;
158 void DHCPv6ConfigTest::StopRunningConfigAndExpect(DHCPv6ConfigRefPtr config,
164 config->OnProcessExited(10);
258 // config ref pointer eases our work in setting up expectations.
311 // Stop the DHCP config while it is calling the failure callback. We
327 // Stop the DHCP config while it is calling the success callback. This
352 DHCPv6ConfigRefPtr config =
354 StopRunningConfigAndExpect(config, false);
358 DHCPv6ConfigRefPtr config =
360 StopRunningConfigAndExpect(config, true);