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 |
10 package metrics; | 12 package metrics; |
11 | 13 |
12 // Next tag: 3 | 14 // Next tag: 3 |
13 message UserActionEventProto { | 15 message UserActionEventProto { |
14 // The name of the action, hashed. | 16 // The name of the action, hashed. |
15 optional fixed64 name_hash = 1; | 17 optional fixed64 name_hash = 1; |
16 | 18 |
17 // The timestamp for the event, in seconds since the epoch. | 19 // The timestamp for the event, in seconds since the epoch. |
18 optional int64 time = 2; | 20 optional int64 time = 2; |
19 } | 21 } |
OLD | NEW |