blob: e2df9aa8fb5ffd2ca858949aaa53621f848594ff [file] [log] [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto3";
package enterprise_reporting;
option optimize_for = LITE_RUNTIME;
// ExtensionsWorkflowEvent contains an extension request and is sent whenever a
// user requests an extension or cancels one.
//
// Next ID: 7.
message ExtensionsWorkflowEvent {
// ID of the installed app/extension for a Chrome app or extension.
string id = 1;
// When the user commits to requesting the extension.
// [request_timestamp] is milliseconds since Epoch in UTC timezone
// (Java time).
int64 request_timestamp_millis = 2;
// Whether the user has requested an extension or has removed a request.
bool removed = 3;
enum ClientType {
UNKNOWN = 0;
CHROME_OS_USER = 1;
BROWSER_DEVICE = 2;
}
// From which client type the request was sent.
ClientType client_type = 4;
// User justification describing why the extension is being requested.
string justification = 5;
// Device name (aka machine name) of a browser device, used for the audit log.
string device_name = 6;
}