| Index: remoting/host/posix/signal_handler.h
|
| diff --git a/remoting/host/posix/sighup_listener.h b/remoting/host/posix/signal_handler.h
|
| similarity index 85%
|
| rename from remoting/host/posix/sighup_listener.h
|
| rename to remoting/host/posix/signal_handler.h
|
| index 48140a39f9a4460bcf877dae949822ec64f2a3cb..af539b0cc844c2f7b922d1e3baabb7e89314ec3e 100644
|
| --- a/remoting/host/posix/sighup_listener.h
|
| +++ b/remoting/host/posix/signal_handler.h
|
| @@ -13,9 +13,11 @@
|
|
|
| namespace remoting {
|
|
|
| +typedef base::Callback<void(int)> SignalHandler;
|
| +
|
| // Register for SIGHUP notifications on the current thread, which must have
|
| // an associated MessageLoopForIO.
|
| -bool RegisterHupSignalHandler(const base::Closure& callback);
|
| +bool RegisterSignalHandler(int signum, const SignalHandler& handler);
|
|
|
| } // namespace remoting
|
|
|
|
|