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

Unified Diff: runtime/bin/vmstats.h

Issue 18611003: Remove VM Stats (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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/resources_sources.gypi ('k') | runtime/bin/vmstats/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmstats.h
diff --git a/runtime/bin/vmstats.h b/runtime/bin/vmstats.h
deleted file mode 100644
index 6143b9539238c351c8cf2f694189fdaf0fcdfd14..0000000000000000000000000000000000000000
--- a/runtime/bin/vmstats.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2013, 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_VMSTATS_H_
-#define BIN_VMSTATS_H_
-
-#include "include/dart_api.h"
-
-
-namespace dart {
-namespace bin {
-
-/**
- * A VM status callback. Status plug-ins implement and register this
- * function using Dart_RegisterStatusPlugin. When Dart_GetVMStatus is
- * called, each callback is invoked to provide the requested information,
- * and the first one to do so "wins".
- *
- * Note: status requests execute outside of an isolate (which is why
- * handles aren't used).
- *
- * \param request an optional string that defines REST-like parameters
- * to define what information is requested.
- *
- * \return Returns a valid JSON string, allocated from C heap. The caller
- * is responsible for releasing this string. NULL is returned if the
- * callback didn't handle that request.
- */
-typedef char* (*Dart_VmStatusCallback)(const char* request);
-
-
-/**
- * Register a VM status plug-in. The specified status type must not already
- * have a registered plug-in.
- *
- * \return 0 if the plug-in was registered, or -1 if there is an error.
- */
-DART_EXPORT int Dart_RegisterVmStatusPlugin(Dart_VmStatusCallback callback);
-
-} // namespace bin
-} // namespace dart
-
-#endif // BIN_VMSTATS_H_
« no previous file with comments | « runtime/bin/resources_sources.gypi ('k') | runtime/bin/vmstats/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698