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

Unified Diff: pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart

Issue 2822943002: [dart:io] Adds ProcessInfo.{max,current}Rss. Adds OS::MaxRSS on Fuchsia. (Closed)
Patch Set: Fix Fuchsia build Created 3 years, 8 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 | « no previous file | runtime/bin/io_natives.cc » ('j') | runtime/bin/process_patch.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart
diff --git a/pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart b/pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart
index e3342f108f3f83fe1ae57bd81a5e12bad37e9fae..59aa7fff52f5b3f87b5c9250dcef697a5fec4fe3 100644
--- a/pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart
+++ b/pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart
@@ -291,6 +291,19 @@ class _ProcessUtils {
}
@patch
+class ProcessInfo {
+ @patch
+ static int get currentRss {
+ throw new UnsupportedError("ProcessInfo.currentRss");
+ }
+
+ @patch
+ static int get maxRss {
+ throw new UnsupportedError("ProcessInfo.maxRss");
+ }
+}
+
+@patch
class Process {
@patch
static Future<Process> start(String executable, List<String> arguments,
« no previous file with comments | « no previous file | runtime/bin/io_natives.cc » ('j') | runtime/bin/process_patch.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698