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

Unified Diff: generated/googleapis_beta/lib/toolresults/v1beta3.dart

Issue 2039113004: Api-roll 37: 2016-06-06 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 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
« no previous file with comments | « generated/googleapis_beta/lib/runtimeconfig/v1beta1.dart ('k') | generated/googleapis_beta/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis_beta/lib/toolresults/v1beta3.dart
diff --git a/generated/googleapis_beta/lib/toolresults/v1beta3.dart b/generated/googleapis_beta/lib/toolresults/v1beta3.dart
index 534df39acca8f4f833a67a3d8ede5400173262b0..8b5ba95b8cd7dc5208793cc11cb6514bd96290eb 100644
--- a/generated/googleapis_beta/lib/toolresults/v1beta3.dart
+++ b/generated/googleapis_beta/lib/toolresults/v1beta3.dart
@@ -7,7 +7,6 @@ import 'dart:async' as async;
import 'dart:convert' as convert;
import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
-import 'package:crypto/crypto.dart' as crypto;
import 'package:http/http.dart' as http;
export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
@@ -1175,10 +1174,10 @@ class Any {
* A URL/resource name whose content describes the type of the serialized
* protocol buffer message.
*
- * For URLs which use the schema `http`, `https`, or no schema, the following
+ * For URLs which use the scheme `http`, `https`, or no scheme, the following
* restrictions and interpretations apply:
*
- * * If no schema is provided, `https` is assumed. * The last segment of the
+ * * If no scheme is provided, `https` is assumed. * The last segment of the
* URL's path must represent the fully qualified name of the type (as in
* `path/google.protobuf.Duration`). The name should be in a canonical form
* (e.g., leading "." is not accepted). * An HTTP GET on the URL must yield a
@@ -1188,7 +1187,7 @@ class Any {
* compatibility needs to be preserved on changes to types. (Use versioned
* type names to manage breaking changes.)
*
- * Schemas other than `http`, `https` (or the empty schema) might be used with
+ * Schemes other than `http`, `https` (or the empty scheme) might be used with
* implementation specific semantics.
*/
core.String typeUrl;
@@ -1197,11 +1196,11 @@ class Any {
*/
core.String value;
core.List<core.int> get valueAsBytes {
- return crypto.CryptoUtils.base64StringToBytes(value);
+ return convert.BASE64.decode(value);
}
void set valueAsBytes(core.List<core.int> _bytes) {
- value = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true);
+ value = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
Any();
@@ -2817,11 +2816,11 @@ class Thumbnail {
*/
core.String data;
core.List<core.int> get dataAsBytes {
- return crypto.CryptoUtils.base64StringToBytes(data);
+ return convert.BASE64.decode(data);
}
void set dataAsBytes(core.List<core.int> _bytes) {
- data = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true);
+ data = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
/**
* The height of the thumbnail, in pixels.
« no previous file with comments | « generated/googleapis_beta/lib/runtimeconfig/v1beta1.dart ('k') | generated/googleapis_beta/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698