D | daemon.cc | 17 Daemon::Daemon() : exit_code_{EX_OK} { in Daemon() function in brillo::Daemon 21 Daemon::~Daemon() { in ~Daemon() 24 int Daemon::Run() { in Run() 43 void Daemon::Quit() { QuitWithExitCode(EX_OK); } in Quit() 45 void Daemon::QuitWithExitCode(int exit_code) { in QuitWithExitCode() 50 void Daemon::RegisterHandler( in RegisterHandler() 56 void Daemon::UnregisterHandler(int signal) { in UnregisterHandler() 60 int Daemon::OnInit() { in OnInit() 64 signal, base::Bind(&Daemon::Shutdown, base::Unretained(this))); in OnInit() 67 SIGHUP, base::Bind(&Daemon::Restart, base::Unretained(this))); in OnInit() [all …]
|