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

Unified Diff: pkg/analysis_server/lib/src/status/pages.dart

Issue 2933043003: Tweak the look of the ast and element links in the diagnostics page. (Closed)
Patch Set: Created 3 years, 6 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
Index: pkg/analysis_server/lib/src/status/pages.dart
diff --git a/pkg/analysis_server/lib/src/status/pages.dart b/pkg/analysis_server/lib/src/status/pages.dart
index 5bfb46dd071e85d8b759b1bb282532e41cee0a46..e2b8a7b3037840f3eeec446e3383049e3acdb06b 100644
--- a/pkg/analysis_server/lib/src/status/pages.dart
+++ b/pkg/analysis_server/lib/src/status/pages.dart
@@ -12,7 +12,6 @@ import 'package:intl/intl.dart';
abstract class Site {
final String title;
List<Page> pages = [];
- List<Page> secondaryPages = [];
Site(this.title);
@@ -37,16 +36,6 @@ abstract class Site {
}
}
- for (Page page in secondaryPages) {
- if (page.path == path) {
- HttpResponse response = request.response;
- response.headers.contentType = ContentType.HTML;
- response.write(await page.generate(request.uri.queryParameters));
- response.close();
- return;
- }
- }
-
await respond(request, createUnknownPage(path), HttpStatus.NOT_FOUND);
} catch (e, st) {
try {

Powered by Google App Engine
This is Rietveld 408576698