summaryrefslogtreecommitdiffstats
path: root/components/offline_pages/proto/offline_pages.proto
blob: 07025a159c00f7b3f8112d86d2e7fc8ccee0ecc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright 2015 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.
//
// Offline page item protocol for storage and exchanging of offline page
// metadata.

syntax = "proto2";

option optimize_for = LITE_RUNTIME;
option retain_unknown_fields = true;

package offline_pages;

message OfflinePageEntry {
  // URL of the offline page.
  required string url = 1;

  // Bookmark ID of the offline page.
  required int64 bookmark_id = 2;

  // Version of the offline page metadata.
  required int32 version = 3;

  // Path to the offline archive.
  required string file_path = 4;

  // Size of the offline archive.
  optional int64 file_size = 5;

  // Creation time of the offline archive.
  optional int64 creation_time = 6;

  // Last access time of the offline archive.
  optional int64 last_access_time = 7;
}