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

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: Respond to review. 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
« no previous file with comments | « utils/pub/hosted_source.dart ('k') | utils/pub/io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/http.dart
diff --git a/utils/pub/http.dart b/utils/pub/http.dart
index b46435c20178e6b3329fd34236279383daeedc0e..abc3c435c3594329f44cfabce182264ba9d85d6c 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;
« no previous file with comments | « utils/pub/hosted_source.dart ('k') | utils/pub/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698