aboutsummaryrefslogtreecommitdiff
path: root/dbus/metrics_event/metrics_event.proto
blob: 48fd4733f6f177421305bd2c605d46c90a418d9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2018 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

syntax = "proto3";

option optimize_for = LITE_RUNTIME;

package metrics_event;

// Content of MetricsEvent signals emitted by Chrome.
message Event {
  // Event types.
  enum Type {
    TAB_DISCARD = 0;
    OOM_KILL = 1;
    TAB_SWITCH = 2;
  }

  // The type of the event being signaled.
  Type type = 1;

  // The time of the event (CLOCK_MONOTONIC in milliseconds).
  int64 timestamp = 2;
}