diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-04 20:12:18 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-04 20:12:18 +0000 |
commit | b61e30dff7d2dba5be886e837c9371682efc8ced (patch) | |
tree | 9a281cb9d154c46f1bd34b660d38ee8ff1ca1d7a /net/base/telnet_server.h | |
parent | 467d8a78689a19aaa96c6700eb02dd94cac5eae1 (diff) | |
download | chromium_src-b61e30dff7d2dba5be886e837c9371682efc8ced.zip chromium_src-b61e30dff7d2dba5be886e837c9371682efc8ced.tar.gz chromium_src-b61e30dff7d2dba5be886e837c9371682efc8ced.tar.bz2 |
Use base::ObjectWatcher instead of MessageLoop::WatchObject for some consumers in the net module.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@335 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/telnet_server.h')
-rw-r--r-- | net/base/telnet_server.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/base/telnet_server.h b/net/base/telnet_server.h index 8b509be..45697c8 100644 --- a/net/base/telnet_server.h +++ b/net/base/telnet_server.h @@ -38,8 +38,7 @@ class TelnetServer : public ListenSocket { public: static TelnetServer* Listen(std::string ip, int port, - ListenSocketDelegate *del, - MessageLoop* loop); + ListenSocketDelegate *del); virtual ~TelnetServer(); protected: @@ -61,7 +60,7 @@ private: EXPECTING_NUMBER_SEMICOLON_OR_END // Processing "ESC [" sequence. }; - TelnetServer(SOCKET s, ListenSocketDelegate* del, MessageLoop* loop); + TelnetServer(SOCKET s, ListenSocketDelegate* del); // telnet commands void SendIAC(int command, int option); @@ -75,4 +74,4 @@ private: DISALLOW_EVIL_CONSTRUCTORS(TelnetServer); }; -#endif // BASE_TELNET_SERVER_H_
\ No newline at end of file +#endif // BASE_TELNET_SERVER_H_ |