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

Side by Side Diff: pkg/analysis_server/lib/src/status/get_handler.dart

Issue 2894883002: Remove more libraries directives from server (Closed)
Patch Set: Created 3 years, 7 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 analysis_server.src.status.get_handler;
6
7 import 'dart:collection'; 5 import 'dart:collection';
8 import 'dart:convert'; 6 import 'dart:convert';
9 import 'dart:io'; 7 import 'dart:io';
10 import 'dart:math'; 8 import 'dart:math';
11 9
12 import 'package:analysis_server/protocol/protocol.dart'; 10 import 'package:analysis_server/protocol/protocol.dart';
13 import 'package:analysis_server/protocol/protocol_generated.dart'; 11 import 'package:analysis_server/protocol/protocol_generated.dart';
14 import 'package:analysis_server/src/analysis_server.dart'; 12 import 'package:analysis_server/src/analysis_server.dart';
15 import 'package:analysis_server/src/domain_completion.dart'; 13 import 'package:analysis_server/src/domain_completion.dart';
16 import 'package:analysis_server/src/domain_diagnostic.dart'; 14 import 'package:analysis_server/src/domain_diagnostic.dart';
(...skipping 2731 matching lines...) Expand 10 before | Expand all | Expand 10 after
2748 */ 2746 */
2749 static String makeLink( 2747 static String makeLink(
2750 String path, Map<String, String> params, String innerHtml, 2748 String path, Map<String, String> params, String innerHtml,
2751 [bool hasError = false]) { 2749 [bool hasError = false]) {
2752 Uri uri = new Uri(path: path, queryParameters: params); 2750 Uri uri = new Uri(path: path, queryParameters: params);
2753 String href = HTML_ESCAPE.convert(uri.toString()); 2751 String href = HTML_ESCAPE.convert(uri.toString());
2754 String classAttribute = hasError ? ' class="error"' : ''; 2752 String classAttribute = hasError ? ' class="error"' : '';
2755 return '<a href="$href"$classAttribute>$innerHtml</a>'; 2753 return '<a href="$href"$classAttribute>$innerHtml</a>';
2756 } 2754 }
2757 } 2755 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/status/element_writer.dart ('k') | pkg/analysis_server/lib/src/status/memory_use.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698