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 message RapporMetricsProto { |
| 15 message UserActionEventProto { | 15 message RapporMetric { |
|
Alexei Svitkine (slow)
2013/12/19 19:47:02
Nit: Indent inner message.
Steven Holte
2013/12/20 03:03:55
Done.
| |
| 16 // The name of the action, hashed. | 16 // The name of the metric, hashed. |
| 17 optional fixed64 name_hash = 1; | 17 optional fixed64 name_hash = 1; |
| 18 | 18 |
| 19 // The timestamp for the event, in seconds since the epoch. | 19 // The reported bits for the event |
| 20 optional int64 time = 2; | 20 optional bytes bits = 2; |
| 21 } | 21 } |
| 22 repeated RapporMetric rappor = 1; | |
| 23 } | |
| OLD | NEW |