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

Unified Diff: components/offline_pages/proto/offline_pages.proto

Issue 1160283003: [Offline] Creates metadata store interface for offline pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@offline-pages-1
Patch Set: Adding BUILD.gn updates Created 5 years, 7 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/offline_pages/proto/offline_pages.proto
diff --git a/components/offline_pages/proto/offline_pages.proto b/components/offline_pages/proto/offline_pages.proto
new file mode 100644
index 0000000000000000000000000000000000000000..fecb06585765492424d29491e3b248bf85df129f
--- /dev/null
+++ b/components/offline_pages/proto/offline_pages.proto
@@ -0,0 +1,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_proto;
+
+message OfflinePageItem {
+ // URL of the offline page.
+ required string url = 1;
+
+ // Title of the offline page.
+ required string title = 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;
+}

Powered by Google App Engine
This is Rietveld 408576698