OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Stores information about an event that occurs in response to a user action, | 5 // Stores information about an event that occurs in response to a user action, |
6 // e.g. an interaction with a browser UI element. | 6 // e.g. an interaction with a browser UI element. |
7 | 7 |
8 syntax = "proto2"; | 8 syntax = "proto2"; |
9 | 9 |
10 option optimize_for = LITE_RUNTIME; | |
11 | |
12 package metrics; | 10 package metrics; |
13 | 11 |
14 // Next tag: 3 | 12 // Next tag: 3 |
15 message UserActionEventProto { | 13 message UserActionEventProto { |
16 // The name of the action, hashed. | 14 // The name of the action, hashed. |
17 optional fixed64 name_hash = 1; | 15 optional fixed64 name_hash = 1; |
18 | 16 |
19 // The timestamp for the event, in seconds since the epoch. | 17 // The timestamp for the event, in seconds since the epoch. |
20 optional int64 time = 2; | 18 optional int64 time = 2; |
21 } | 19 } |
OLD | NEW |