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

Unified Diff: sdk/lib/io/options.dart

Issue 16758008: Add 'Server' and 'User-Agent' default header fields. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: git cl dcommit Created 7 years, 6 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 | « sdk/lib/io/http_impl.dart ('k') | tests/standalone/io/http_detach_socket_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/options.dart
diff --git a/sdk/lib/io/options.dart b/sdk/lib/io/options.dart
index 91a8e5841e6e46d1743d3608919b00a9e19f6e4f..ff409ffcd89de414470f7e3da635b70e6dd500d3 100644
--- a/sdk/lib/io/options.dart
+++ b/sdk/lib/io/options.dart
@@ -41,6 +41,12 @@ abstract class Options {
* string is returned.
*/
String get script;
+
+
+ /**
+ * Returns the version of the current dart runtime.
+ */
+ String get version;
}
class _OptionsImpl implements Options {
@@ -60,6 +66,8 @@ class _OptionsImpl implements Options {
return _nativeScript;
}
+ String get version;
+
List<String> _arguments = null;
// This arguments singleton is written to by the embedder if applicable.
« no previous file with comments | « sdk/lib/io/http_impl.dart ('k') | tests/standalone/io/http_detach_socket_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698