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

Unified Diff: runtime/bin/process_unsupported.cc

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
Index: runtime/bin/process_unsupported.cc
diff --git a/runtime/bin/process_unsupported.cc b/runtime/bin/process_unsupported.cc
index 1bb4ce879c8cb5f92616a8b1bf31b46a20e88ac4..f73f82d210ecad0a3b88cd7c789b5336364b7db8 100644
--- a/runtime/bin/process_unsupported.cc
+++ b/runtime/bin/process_unsupported.cc
@@ -92,6 +92,18 @@ void FUNCTION_NAME(StringToSystemEncoding)(Dart_NativeArguments args) {
DartUtils::NewInternalError("Process is not supported on this platform"));
}
+
+void FUNCTION_NAME(ProcessInfo_CurrentRSS)(Dart_NativeArguments args) {
+ Dart_ThrowException(
+ DartUtils::NewInternalError("Process is not supported on this platform"));
+}
+
+
+void FUNCTION_NAME(ProcessInfo_MaxRSS)(Dart_NativeArguments args) {
+ Dart_ThrowException(
+ DartUtils::NewInternalError("Process is not supported on this platform"));
+}
+
} // namespace bin
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698