Chromium Code Reviews| Index: runtime/bin/dbg_connection_linux.h |
| =================================================================== |
| --- runtime/bin/dbg_connection_linux.h (revision 8867) |
| +++ runtime/bin/dbg_connection_linux.h (working copy) |
| @@ -5,6 +5,7 @@ |
| #ifndef BIN_DBG_CONNECTION_LINUX_H_ |
| #define BIN_DBG_CONNECTION_LINUX_H_ |
|
siva
2012/06/20 00:53:31
extra blank line?
hausner
2012/06/20 16:05:58
Done.
|
| + |
| #include <arpa/inet.h> |
| #include <netdb.h> |
| #include <sys/socket.h> |
| @@ -13,6 +14,17 @@ |
| class DebuggerConnectionImpl { |
| public: |
| static void StartHandler(int port_number); |
| + |
| + private: |
| + static void SetupPollQueue(); |
| + static void HandleEvent(struct epoll_event* event); |
| + static void Handler(uword args); |
| + |
| + // File descriptors for pipes used to communicate with the debugger thread. |
| + static int wakeup_fds_[2]; |
| + |
| + // File descriptor for the polling queue. |
| + static int epoll_fd_; |
| }; |
| #endif // BIN_DBG_CONNECTION_LINUX_H_ |