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

Unified Diff: runtime/bin/http_parser.dart

Issue 10872033: Change getters syntax in dart:io library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/http_impl.dart ('k') | runtime/bin/input_stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/http_parser.dart
diff --git a/runtime/bin/http_parser.dart b/runtime/bin/http_parser.dart
index b5d1fe68b19bf4a4cb9867e4900eb8ed03a2726f..914acdbcf0063182f1d6959c59a340bd4655f3d2 100644
--- a/runtime/bin/http_parser.dart
+++ b/runtime/bin/http_parser.dart
@@ -595,7 +595,7 @@ class _HttpParser {
}
}
- String get version() {
+ String get version {
switch (_httpVersion) {
case _HttpVersion.HTTP10:
return "1.0";
@@ -607,16 +607,16 @@ class _HttpParser {
return null;
}
- int get messageType() => _messageType;
- int get contentLength() => _contentLength;
- bool get upgrade() => _connectionUpgrade && _state == _State.UPGRADED;
- bool get persistentConnection() => _persistentConnection;
+ int get messageType => _messageType;
+ int get contentLength => _contentLength;
+ bool get upgrade => _connectionUpgrade && _state == _State.UPGRADED;
+ bool get persistentConnection => _persistentConnection;
void set responseToMethod(String method) { _responseToMethod = method; }
- bool get isIdle() => _state == _State.START;
+ bool get isIdle => _state == _State.START;
- List<int> get unparsedData() => _unparsedData;
+ List<int> get unparsedData => _unparsedData;
void _bodyEnd() {
if (dataEnd != null) {
« no previous file with comments | « runtime/bin/http_impl.dart ('k') | runtime/bin/input_stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698