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

Unified Diff: runtime/bin/vmservice_dartium.h

Issue 584023004: Service isolate rework (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 months 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/vmservice/vmservice_io.dart ('k') | runtime/bin/vmservice_dartium.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice_dartium.h
diff --git a/runtime/bin/vmservice_dartium.h b/runtime/bin/vmservice_dartium.h
new file mode 100644
index 0000000000000000000000000000000000000000..95aa24c75302f854f5757e389b271d960f0a2857
--- /dev/null
+++ b/runtime/bin/vmservice_dartium.h
@@ -0,0 +1,38 @@
+// Copyright (c) 2015, 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_VMSERVICE_DARTIUM_H_
+#define BIN_VMSERVICE_DARTIUM_H_
+
+/* In order to avoid conflicts / issues with blink, no headers are included */
+
+#include <dart_api.h>
+#include <cstddef>
+
+namespace dart {
+namespace bin {
+
+class VmServiceServer {
+ public:
+ static void Bootstrap();
+ static Dart_Isolate CreateIsolate();
+
+ static const char* GetServerIP();
+ static intptr_t GetServerPort();
+
+/* DISALLOW_ALLOCATION */
+ void operator delete(void* pointer);
+ private:
+ void* operator new(size_t size);
+
+/* DISALLOW_IMPLICIT_CONSTRUCTORS */
+ VmServiceServer();
+ VmServiceServer(const VmServiceServer&);
+ void operator=(const VmServiceServer&);
+};
+
+} // namespace bin
+} // namespace dart
+
+#endif // BIN_VMSERVICE_DARTIUM_H_
« no previous file with comments | « runtime/bin/vmservice/vmservice_io.dart ('k') | runtime/bin/vmservice_dartium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698