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

Side by Side Diff: samples/chat/chat_server_lib.dart

Issue 11312237: Dynamic -> dynamic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/lib/mirrors_impl.dart ('k') | samples/newissues/newissues.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library chat_server; 5 library chat_server;
6 import 'dart:io'; 6 import 'dart:io';
7 import 'dart:isolate'; 7 import 'dart:isolate';
8 import 'dart:json'; 8 import 'dart:json';
9 import 'dart:math'; 9 import 'dart:math';
10 10
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 case ERROR: 276 case ERROR:
277 if (_error == null) { 277 if (_error == null) {
278 return "Server error"; 278 return "Server error";
279 } else { 279 } else {
280 return "Server error: $_error"; 280 return "Server error: $_error";
281 } 281 }
282 } 282 }
283 } 283 }
284 284
285 int get port => _port; 285 int get port => _port;
286 Dynamic get error => _error; 286 dynamic get error => _error;
287 287
288 int _state; 288 int _state;
289 String _message; 289 String _message;
290 int _port; 290 int _port;
291 var _error; 291 var _error;
292 } 292 }
293 293
294 294
295 class IsolatedServer { 295 class IsolatedServer {
296 static const String redirectPageHtml = """ 296 static const String redirectPageHtml = """
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 } 684 }
685 } 685 }
686 686
687 int _timeRange; 687 int _timeRange;
688 List<int> _buckets; 688 List<int> _buckets;
689 int _currentBucket; 689 int _currentBucket;
690 int _currentBucketTime; 690 int _currentBucketTime;
691 num _bucketTimeRange; 691 num _bucketTimeRange;
692 int _sum; 692 int _sum;
693 } 693 }
OLDNEW
« no previous file with comments | « runtime/lib/mirrors_impl.dart ('k') | samples/newissues/newissues.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698