OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 // |
| 5 // Offline page item protocol for storage and exchanging of offline page |
| 6 // metadata. |
| 7 |
| 8 syntax = "proto2"; |
| 9 |
| 10 option optimize_for = LITE_RUNTIME; |
| 11 option retain_unknown_fields = true; |
| 12 |
| 13 package offline_pages_proto; |
| 14 |
| 15 message OfflinePageItem { |
| 16 // URL of the offline page. |
| 17 required string url = 1; |
| 18 |
| 19 // Title of the offline page. |
| 20 required string title = 2; |
| 21 |
| 22 // Version of the offline page metadata. |
| 23 required int32 version = 3; |
| 24 |
| 25 // Path to the offline archive. |
| 26 required string file_path = 4; |
| 27 |
| 28 // Size of the offline archive. |
| 29 optional int64 file_size = 5; |
| 30 |
| 31 // Creation time of the offline archive. |
| 32 optional int64 creation_time = 6; |
| 33 |
| 34 // Last access time of the offline archive. |
| 35 optional int64 last_access_time = 7; |
| 36 } |
OLD | NEW |