| // Copyright 2017 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 metadata_pb; |
| |
| import "download_source.proto"; |
| |
| // Stores various in-progress metadata related to a download. |
| message DownloadEntry { |
| optional string guid = 1; |
| optional string request_origin = 2; |
| optional DownloadSource download_source = 3; |
| } |
| |
| // Contains a list of entries. |
| message DownloadEntries { |
| repeated DownloadEntry entries = 1; |
| } |