Index: components/metrics/proto/omnibox_event.proto |
diff --git a/components/metrics/proto/omnibox_event.proto b/components/metrics/proto/omnibox_event.proto |
index 33079549d38dd7ff58032f155a4b59fb2b515b6e..afef1a0be98cb5cf93435f4f22cb24c48f07ae65 100644 |
--- a/components/metrics/proto/omnibox_event.proto |
+++ b/components/metrics/proto/omnibox_event.proto |
@@ -10,6 +10,8 @@ option optimize_for = LITE_RUNTIME; |
package metrics; |
+import "omnibox_input_type.proto"; |
+ |
// Next tag: 17 |
message OmniboxEventProto { |
// The timestamp for the event, in seconds since the epoch. |
@@ -130,18 +132,7 @@ message OmniboxEventProto { |
} |
optional PageClassification current_page_classification = 10; |
- // What kind of input the user provided. |
- enum InputType { |
- INVALID = 0; // Empty input (should not reach here) |
- UNKNOWN = 1; // Valid input whose type cannot be determined |
- REQUESTED_URL = 2; // DEPRECATED. Input autodetected as UNKNOWN, which the |
- // user wants to treat as an URL by specifying a |
- // desired_tld |
- URL = 3; // Input autodetected as a URL |
- QUERY = 4; // Input autodetected as a query |
- FORCED_QUERY = 5; // Input forced to be a query by an initial '?' |
- } |
- optional InputType input_type = 8; |
+ optional OmniboxInputType.Type input_type = 8; |
// An enum used in multiple places below. |
enum ProviderType { |