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

Unified Diff: generated/googleapis/lib/src/common_internal.dart

Issue 698403003: Api roll 5: 2014-11-05 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 1 month 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: generated/googleapis/lib/src/common_internal.dart
diff --git a/generated/googleapis/lib/src/common_internal.dart b/generated/googleapis/lib/src/common_internal.dart
index 829b364c520420dbefeb00e5e4bf98b2f5099e79..a2366348d2557949e897e13e0ef86c2f22f60502 100644
--- a/generated/googleapis/lib/src/common_internal.dart
+++ b/generated/googleapis/lib/src/common_internal.dart
@@ -9,7 +9,7 @@ import "../common/common.dart" as common_external;
import "package:http/http.dart" as http;
const String USER_AGENT_STRING =
- 'google-api-dart-client googleapis/0.3.1';
+ 'google-api-dart-client googleapis/0.4.0';
const CONTENT_TYPE_JSON_UTF8 = 'application/json; charset=utf-8';
@@ -482,8 +482,8 @@ class ResumableMediaUploader {
'Received less bytes than indicated by [Media.length].'));
return;
} else if (end > _uploadMedia.length) {
- completer.completeError(
- 'Received more bytes than indicated by [Media.length].');
+ completer.completeError(new common_external.ApiRequestError(
+ 'Received more bytes than indicated by [Media.length].'));
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698