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

Unified Diff: runtime/bin/websocket_impl.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/websocket.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/websocket_impl.dart
diff --git a/runtime/bin/websocket_impl.dart b/runtime/bin/websocket_impl.dart
index 6880dcc94b51c3ba065537cb6e3240748f9d916b..5f5faef09ae180a7d70b5daf3205b3d57bd5879a 100644
--- a/runtime/bin/websocket_impl.dart
+++ b/runtime/bin/websocket_impl.dart
@@ -833,8 +833,8 @@ class _WebSocket implements WebSocket {
};
}
- int get readyState() => _readyState;
- int get bufferedAmount() => 0;
+ int get readyState => _readyState;
+ int get bufferedAmount => 0;
void set onopen(Function callback) {
_onopen = callback;
@@ -848,8 +848,8 @@ class _WebSocket implements WebSocket {
_onclose = callback;
}
- String get extensions() => null;
- String get protocol() => null;
+ String get extensions => null;
+ String get protocol => null;
void close(int code, String reason) {
if (_readyState < WebSocket.CLOSING) _readyState = WebSocket.CLOSING;
@@ -875,16 +875,16 @@ class _WebSocket implements WebSocket {
class _WebSocketMessageEvent implements MessageEvent {
_WebSocketMessageEvent(this._data);
- get data() => _data;
+ get data => _data;
var _data;
}
class _WebSocketCloseEvent implements CloseEvent {
_WebSocketCloseEvent(this._wasClean, this._code, this._reason);
- bool get wasClean() => _wasClean;
- int get code() => _code;
- String get reason() => _reason;
+ bool get wasClean => _wasClean;
+ int get code => _code;
+ String get reason => _reason;
bool _wasClean;
int _code;
String _reason;
« no previous file with comments | « runtime/bin/websocket.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698