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

Unified Diff: utils/pub/http.dart

Issue 11638010: Convert /** comments to /// in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix 80 column limit. Created 8 years 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: utils/pub/http.dart
diff --git a/utils/pub/http.dart b/utils/pub/http.dart
index 9190a416ca65159ba86d16dc621f6fad3435bb12..66b55adce321547ed18c5de4b86e091181e29c35 100644
--- a/utils/pub/http.dart
+++ b/utils/pub/http.dart
@@ -15,10 +15,8 @@ import 'io.dart';
import 'log.dart' as log;
// TODO(nweiz): make this configurable
-/**
- * The amount of time in milliseconds to allow HTTP requests before assuming
- * they've failed.
- */
+/// The amount of time in milliseconds to allow HTTP requests before assuming
+/// they've failed.
final HTTP_TIMEOUT = 30 * 1000;
/// An HTTP client that transforms 40* errors and socket exceptions into more
@@ -125,9 +123,7 @@ void invalidServerResponse(http.Response response) {
throw 'Invalid server response:\n${response.body}';
}
-/**
- * Exception thrown when an HTTP operation fails.
- */
+/// Exception thrown when an HTTP operation fails.
class PubHttpException implements Exception {
final http.Response response;

Powered by Google App Engine
This is Rietveld 408576698