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

Unified Diff: components/metrics/proto/omnibox_event.proto

Issue 319523005: Omnibox: Combine Two Input Type Enums into One (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove blank line Created 6 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: components/metrics/proto/omnibox_event.proto
diff --git a/components/metrics/proto/omnibox_event.proto b/components/metrics/proto/omnibox_event.proto
index cb87c8a186355f99560645dc38cb4b4738bcc43c..80a35cd788a84e81034bbb0430dc0e02ebf77e4f 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.
@@ -128,18 +130,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 {

Powered by Google App Engine
This is Rietveld 408576698