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/platform.h

Issue 3006873002: [dart:io] Adds Platform.operatingSystemVersion (Closed)
Patch Set: Updated CHANGELOG Created 3 years, 3 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/io_natives.cc ('k') | runtime/bin/platform.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/platform.h
diff --git a/runtime/bin/platform.h b/runtime/bin/platform.h
index dfe9cde9a06699623da499c9c776cddb21563a3e..d174902ad4ff82f628ddcea356060a6710a359fb 100644
--- a/runtime/bin/platform.h
+++ b/runtime/bin/platform.h
@@ -24,6 +24,11 @@ class Platform {
// deallocated by the caller.
static const char* OperatingSystem();
+ // Returns a string representing the version of the operating system. The
+ // format of the string is determined by the platform. The returned string
+ // should not be deallocated by the caller.
+ static const char* OperatingSystemVersion();
+
// Returns the architecture name of the processor the VM is running on
// (ia32, x64, arm, or arm64).
static const char* HostArchitecture() {
« no previous file with comments | « runtime/bin/io_natives.cc ('k') | runtime/bin/platform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698