| Index: session_manager_service.h
|
| diff --git a/session_manager_service.h b/session_manager_service.h
|
| index 997ef456fe8d5ecaca5ba6dba198cc686f22d168..37f89aa00d204d16581ee6209f9a22af23aafe7f 100644
|
| --- a/session_manager_service.h
|
| +++ b/session_manager_service.h
|
| @@ -80,6 +80,10 @@ class SessionManagerService : public chromeos::dbus::AbstractDbusService {
|
|
|
| // Returns true if |child_job_| believes it should be run.
|
| bool should_run_child() { return child_job_->ShouldRun(); }
|
| + // Returns true if |child_job_| believes it should be stopped.
|
| + // If the child believes it should be stopped (as opposed to not run anymore)
|
| + // we actually exit the Service as well.
|
| + bool should_stop_child() { return child_job_->ShouldStop(); }
|
|
|
| // Fork, then call child_job_->Run() in the child and set a
|
| // babysitter in the parent's glib default context that calls
|
|
|