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

Side by Side Diff: samples/github/lib/src/github_mock.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino 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 import 'dart:fletch'; 5 import 'dart:dartino';
6 import 'dart:fletch.os' as os; 6 import 'dart:dartino.os' as os;
7 import 'dart:typed_data'; 7 import 'dart:typed_data';
8 8
9 import 'package:file/file.dart'; 9 import 'package:file/file.dart';
10 import 'package:http/http.dart'; 10 import 'package:http/http.dart';
11 import 'package:socket/socket.dart'; 11 import 'package:socket/socket.dart';
12 12
13 abstract class _Connection { 13 abstract class _Connection {
14 final String host; 14 final String host;
15 final int port; 15 final int port;
16 final bool open; 16 final bool open;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 } 153 }
154 154
155 if (verbose) { 155 if (verbose) {
156 print('Response $code on request for $resource'); 156 print('Response $code on request for $resource');
157 } 157 }
158 158
159 socket.write(response); 159 socket.write(response);
160 socket.close(); 160 socket.close();
161 } 161 }
162 } 162 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698