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

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

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 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: 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 15837944e4514136c1fb79d4eb5a9e5b05d85010..0f201fb16f350134c7fa452088847e84f64ec820 100644
--- a/generated/googleapis_beta/lib/toolresults/v1beta3.dart
+++ b/generated/googleapis_beta/lib/toolresults/v1beta3.dart
@@ -1734,6 +1734,44 @@ class Any {
}
}
+class AppStartTime {
+ /**
+ * Optional. The time from app start to reaching the developer-reported "fully
+ * drawn" time. This is only stored if the app includes a call to
+ * Activity.reportFullyDrawn(). See
+ * https://developer.android.com/topic/performance/launch-time.html#time-full
+ */
+ Duration fullyDrawnTime;
+ /**
+ * The time from app start to the first displayed activity being drawn, as
+ * reported in Logcat. See
+ * https://developer.android.com/topic/performance/launch-time.html#time-initial
+ */
+ Duration initialDisplayTime;
+
+ AppStartTime();
+
+ AppStartTime.fromJson(core.Map _json) {
+ if (_json.containsKey("fullyDrawnTime")) {
+ fullyDrawnTime = new Duration.fromJson(_json["fullyDrawnTime"]);
+ }
+ if (_json.containsKey("initialDisplayTime")) {
+ initialDisplayTime = new Duration.fromJson(_json["initialDisplayTime"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (fullyDrawnTime != null) {
+ _json["fullyDrawnTime"] = (fullyDrawnTime).toJson();
+ }
+ if (initialDisplayTime != null) {
+ _json["initialDisplayTime"] = (initialDisplayTime).toJson();
+ }
+ return _json;
+ }
+}
+
/**
* Encapsulates the metadata for basic sample series represented by a line chart
*/
@@ -2708,6 +2746,7 @@ class PerfEnvironment {
/** A summary of perf metrics collected and performance environment info */
class PerfMetricsSummary {
+ AppStartTime appStartTime;
/** A tool results execution ID. */
core.String executionId;
/** A tool results history ID. */
@@ -2726,6 +2765,9 @@ class PerfMetricsSummary {
PerfMetricsSummary();
PerfMetricsSummary.fromJson(core.Map _json) {
+ if (_json.containsKey("appStartTime")) {
+ appStartTime = new AppStartTime.fromJson(_json["appStartTime"]);
+ }
if (_json.containsKey("executionId")) {
executionId = _json["executionId"];
}
@@ -2748,6 +2790,9 @@ class PerfMetricsSummary {
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (appStartTime != null) {
+ _json["appStartTime"] = (appStartTime).toJson();
+ }
if (executionId != null) {
_json["executionId"] = executionId;
}
@@ -3055,8 +3100,8 @@ class Status {
/** The status code, which should be an enum value of [google.rpc.Code][]. */
core.int code;
/**
- * A list of messages that carry the error details. There will be a common set
- * of message types for APIs to use.
+ * A list of messages that carry the error details. There is a common set of
+ * message types for APIs to use.
*/
core.List<Any> details;
/**
« no previous file with comments | « generated/googleapis_beta/lib/speech/v1beta1.dart ('k') | generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698