Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: runtime/bin/dbg_connection_android.h

Issue 1497033003: - Remove the legacy debug protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address review comments. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/dbg_connection.cc ('k') | runtime/bin/dbg_connection_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dbg_connection_android.h
diff --git a/runtime/bin/dbg_connection_android.h b/runtime/bin/dbg_connection_android.h
deleted file mode 100644
index 8975294f3a8213b0233a68019bdc33049cdb0748..0000000000000000000000000000000000000000
--- a/runtime/bin/dbg_connection_android.h
+++ /dev/null
@@ -1,38 +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_ANDROID_H_
-#define BIN_DBG_CONNECTION_ANDROID_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:
- 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 intptr_t epoll_fd_;
-};
-
-} // namespace bin
-} // namespace dart
-
-#endif // BIN_DBG_CONNECTION_ANDROID_H_
« no previous file with comments | « runtime/bin/dbg_connection.cc ('k') | runtime/bin/dbg_connection_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698