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