Chromium Code Reviews| 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; | 10 option optimize_for = LITE_RUNTIME; |
| 11 | 11 |
| 12 package metrics; | 12 package rappor; |
| 13 | 13 |
| 14 // Next tag: 3 | 14 // Next tag: 3 |
|
jwd
2013/12/17 23:00:25
Update next tag, maybe drop it.
Steven Holte
2013/12/18 23:38:49
Done.
| |
| 15 message UserActionEventProto { | 15 message RapporMetricsProto { |
| 16 // The name of the action, hashed. | 16 message RapporMetricProto { |
|
jwd
2013/12/17 23:00:25
indent inner message.
Do these have to be named *
Steven Holte
2013/12/18 02:06:12
I had included it in the name because UserActionEv
| |
| 17 // The name of the metric, hashed. | |
| 17 optional fixed64 name_hash = 1; | 18 optional fixed64 name_hash = 1; |
| 18 | 19 |
| 19 // The timestamp for the event, in seconds since the epoch. | 20 // The reported bits for the event |
| 20 optional int64 time = 2; | 21 optional bytes bits = 2; |
| 21 } | 22 } |
| 23 repeated RapporMetricProto rappor = 1; | |
| 24 } | |
| OLD | NEW |