| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BIN_DBG_CONNECTION_WIN_H_ | 5 #ifndef BIN_DBG_CONNECTION_WIN_H_ |
| 6 #define BIN_DBG_CONNECTION_WIN_H_ | 6 #define BIN_DBG_CONNECTION_WIN_H_ |
| 7 | 7 |
| 8 | |
| 9 | |
| 10 class DebuggerConnectionImpl { | 8 class DebuggerConnectionImpl { |
| 11 public: | 9 public: |
| 12 static void StartHandler(int port_number); | 10 static void StartHandler(int port_number); |
| 11 static intptr_t Send(intptr_t socket, const char* buf, int len); |
| 12 static intptr_t Receive(intptr_t socket, char* buf, int len); |
| 13 |
| 14 private: |
| 15 static void ThreadEntry(uword args); |
| 13 }; | 16 }; |
| 14 | 17 |
| 15 #endif // BIN_DBG_CONNECTION_WIN_H_ | 18 #endif // BIN_DBG_CONNECTION_WIN_H_ |
| OLD | NEW |