Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Side by Side Diff: components/rappor/proto/rappor_metric.proto

Issue 49753002: RAPPOR implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698