[Hashed logging] Export app list launch metrics proto from google3.

This CL is a run of proto_export.py, no other changes have been made.

Bug: 951287
Change-Id: I89f5b1f93c784cb63adf6ee055dcd22f154419f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1611067
Reviewed-by: Steven Holte <holte@chromium.org>
Commit-Queue: Tony Yeoman <tby@chromium.org>
Cr-Commit-Position: refs/heads/master@{#660207}
diff --git a/third_party/metrics_proto/BUILD.gn b/third_party/metrics_proto/BUILD.gn
index cf68086..2e5c90c 100644
--- a/third_party/metrics_proto/BUILD.gn
+++ b/third_party/metrics_proto/BUILD.gn
@@ -8,6 +8,7 @@
   sources = [
     "call_stack_profile.proto",
     "cast_logs.proto",
+    "chrome_os_app_list_launch_event.proto",
     "chrome_user_metrics_extension.proto",
     "execution_context.proto",
     "extension_install.proto",
diff --git a/third_party/metrics_proto/README.chromium b/third_party/metrics_proto/README.chromium
index 3d67ed6..8b07105 100644
--- a/third_party/metrics_proto/README.chromium
+++ b/third_party/metrics_proto/README.chromium
@@ -1,8 +1,8 @@
 Name: Metrics Protos
 Short Name: metrics_proto
 URL: This is the canonical public repository
-Version: 247505755
-Date: 2019/05/09 UTC
+Version: 248273902
+Date: 2019/05/15 UTC
 License: BSD
 Security Critical: Yes
 
diff --git a/third_party/metrics_proto/chrome_os_app_list_launch_event.proto b/third_party/metrics_proto/chrome_os_app_list_launch_event.proto
new file mode 100644
index 0000000..9c592c1
--- /dev/null
+++ b/third_party/metrics_proto/chrome_os_app_list_launch_event.proto
@@ -0,0 +1,65 @@
+// Copyright 2019 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package metrics;
+
+import "system_profile.proto";
+
+// Provides information about the launch of an item (such as an app or a file)
+// from the ChromeOS launcher. One event is recorded for every launch
+// originating from any launcher UI component, and this is the only circumstance
+// that records events. All fields prefixed with "hashed_" are hashed-and-
+// peppered values: the value is concatenated with a user-specific secret value,
+// and then hashed. For privacy reasons this process is designed to be one-way,
+// so that the server cannot easily recover the original values.
+//
+// Next tag: 9
+message ChromeOSAppListLaunchEventProto {
+  // A per-user, per-client ID that is used only for app list launch event
+  // logging.
+  optional fixed64 recurrence_ranker_user_id = 1;
+
+  // Enumerates the different UI components of the launcher that a user can
+  // perform a launch from.
+  enum LaunchType {
+    // No launch type specified. This is invalid and will cause the event to be
+    // dropped.
+    LAUNCH_TYPE_UNSPECIFIED = 0;
+    // Launches from the zero-state suggested apps chips or app search result
+    // tiles.
+    APP_TILES = 1;
+    // Launches from the non-apps search result list.
+    RESULTS_LIST = 2;
+  }
+  optional LaunchType launch_type = 2;
+
+  // Hour of the day from 0 to 23 inclusive. This is the user's local time
+  // rounded to the nearest hour.
+  optional int32 hour = 3;
+
+  // String length of the search query associated with this launch. If there was
+  // no query, this is zero.
+  optional int32 search_query_length = 4;
+
+  // Below here, all fields are hashed data.
+
+  // The hashed target item of the launch, eg. an app ID, filepath, or omnibox
+  // suggestion.
+  optional fixed64 hashed_target = 5;
+
+  // The hashed search query associated with the launch. Before hashing, the
+  // query is the empty string if there is no search query for this launch.
+  optional fixed64 hashed_query = 6;
+
+  // Hashed of the most-recently-visited domain when this launch occurred.
+  optional fixed64 hashed_domain = 7;
+
+  // Hash of the app ID of the most-recently-opened app when this launch
+  // occurred. This can be an app ID of a Chrome app, Arc++ app, or PWA.
+  optional fixed64 hashed_app = 8;
+}
diff --git a/third_party/metrics_proto/chrome_user_metrics_extension.proto b/third_party/metrics_proto/chrome_user_metrics_extension.proto
index fb63ae8..d4a3920 100644
--- a/third_party/metrics_proto/chrome_user_metrics_extension.proto
+++ b/third_party/metrics_proto/chrome_user_metrics_extension.proto
@@ -12,6 +12,7 @@
 package metrics;
 
 import "cast_logs.proto";
+import "chrome_os_app_list_launch_event.proto";
 import "histogram_event.proto";
 import "memory_leak_report.proto";
 import "omnibox_event.proto";
@@ -24,7 +25,7 @@
 import "translate_event.proto";
 import "user_action_event.proto";
 
-// Next tag: 20
+// Next tag: 21
 message ChromeUserMetricsExtension {
   // The product (i.e. end user application) for a given UMA log.
   enum Product {
@@ -71,6 +72,7 @@
   repeated HistogramEventProto histogram_event = 6;
   repeated TranslateEventProto translate_event = 15;
   repeated PrinterEventProto printer_event = 16;
+  repeated ChromeOSAppListLaunchEventProto chrome_os_app_list_launch_event = 20;
 
   // Deprecated: use |sampled_profile| instead.
   repeated PerfDataProto perf_data = 8 [deprecated = true];