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

Side by Side Diff: pkg/fletchc/lib/src/verbs/x_download_tools_verb.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
« no previous file with comments | « pkg/fletchc/lib/src/verbs/show_verb.dart ('k') | pkg/fletchc/lib/src/verbs/x_end_verb.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file
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.md file.
4
5 library fletchc.verbs.x_download_tools_verb;
6
7 import 'infrastructure.dart';
8 import '../worker/developer.dart' show downloadTools;
9 import 'documentation.dart' show downloadToolsDocumentation;
10
11 const Action downloadToolsAction = const Action(
12 downloadToolsFunction, downloadToolsDocumentation,
13 requiresSession: true);
14
15 Future downloadToolsFunction(
16 AnalyzedSentence sentence, VerbContext context) async {
17 return context.performTaskInWorker(new DownloadTooksTask());
18 }
19
20 class DownloadTooksTask extends SharedTask {
21
22 DownloadTooksTask();
23
24 Future call(
25 CommandSender commandSender,
26 StreamIterator<ClientCommand> commandIterator) async {
27 return await downloadTools(
28 commandSender, commandIterator, SessionState.current);
29 }
30 }
OLDNEW
« no previous file with comments | « pkg/fletchc/lib/src/verbs/show_verb.dart ('k') | pkg/fletchc/lib/src/verbs/x_end_verb.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698