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 omnibox interaction. | 5 // Stores information about an omnibox interaction. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | |
10 | |
11 package metrics; | 9 package metrics; |
12 | 10 |
13 // Next tag: 13 | 11 // Next tag: 13 |
14 message OmniboxEventProto { | 12 message OmniboxEventProto { |
15 // The timestamp for the event, in seconds since the epoch. | 13 // The timestamp for the event, in seconds since the epoch. |
16 optional int64 time = 1; | 14 optional int64 time = 1; |
17 | 15 |
18 // The id of the originating tab for this omnibox interaction. | 16 // The id of the originating tab for this omnibox interaction. |
19 // This is the current tab *unless* the user opened the target in a new tab. | 17 // This is the current tab *unless* the user opened the target in a new tab. |
20 // In those cases, this is unset. Tab ids are unique for a given session_id | 18 // In those cases, this is unset. Tab ids are unique for a given session_id |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 141 |
144 // The provider's done() value, i.e., whether it's completed processing | 142 // The provider's done() value, i.e., whether it's completed processing |
145 // the query. Providers which don't do any asynchronous processing | 143 // the query. Providers which don't do any asynchronous processing |
146 // will always be done. | 144 // will always be done. |
147 optional bool provider_done = 2; | 145 optional bool provider_done = 2; |
148 } | 146 } |
149 // A list of diagnostic information about each provider. Providers | 147 // A list of diagnostic information about each provider. Providers |
150 // will appear at most once in this list. | 148 // will appear at most once in this list. |
151 repeated ProviderInfo provider_info = 12; | 149 repeated ProviderInfo provider_info = 12; |
152 } | 150 } |
OLD | NEW |