// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. syntax = "proto2"; option optimize_for = LITE_RUNTIME; option java_package = "org.chromium.components.metrics"; package metrics; // Extra information attached to reports by client at upload time. // Next tag: 5 message ReportingInfo { // Number of times upload of the current report has been attempted. optional int32 attempt_count = 1; // The HTTP response/error code of the last upload attempt. optional int32 last_response_code = 2; // The NET_ERROR code of the last upload attempt. // See chromium's net/base/net_error_list.h for examples. optional int32 last_error_code = 3; // True if the last upload attempt was over HTTPS. optional bool last_attempt_was_https = 4; }