| Index: runtime/bin/dbg_connection_macos.h
|
| diff --git a/runtime/bin/dbg_connection_macos.h b/runtime/bin/dbg_connection_macos.h
|
| deleted file mode 100644
|
| index 064238e59d081659b0b477ca8a13d4984c3642af..0000000000000000000000000000000000000000
|
| --- a/runtime/bin/dbg_connection_macos.h
|
| +++ /dev/null
|
| @@ -1,52 +0,0 @@
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -#ifndef BIN_DBG_CONNECTION_MACOS_H_
|
| -#define BIN_DBG_CONNECTION_MACOS_H_
|
| -
|
| -#include <arpa/inet.h>
|
| -#include <netdb.h>
|
| -#include <sys/socket.h>
|
| -
|
| -
|
| -namespace dart {
|
| -namespace bin {
|
| -
|
| -class DebuggerConnectionImpl {
|
| - public:
|
| - static void StartHandler(int port_number);
|
| - static void StopHandler(intptr_t debug_fd) {}
|
| - static intptr_t Send(intptr_t socket, const char* buf, int len);
|
| - static intptr_t Receive(intptr_t socket, char* buf, int len);
|
| -
|
| - private:
|
| - enum MessageType {
|
| - kAddDbgFd = 1,
|
| - kRemoveDbgFd,
|
| - kQuit
|
| - };
|
| -
|
| - struct Message {
|
| - MessageType msg_id;
|
| - };
|
| -
|
| - static void SendMessage(MessageType id);
|
| - static bool ReceiveMessage(Message* msg);
|
| -
|
| - static void SetupPollQueue();
|
| - static void HandleEvent(struct kevent* 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 kqueue_fd_;
|
| -};
|
| -
|
| -} // namespace bin
|
| -} // namespace dart
|
| -
|
| -#endif // BIN_DBG_CONNECTION_MACOS_H_
|
|
|