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

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

Issue 1367063004: Support undoing offline page deletion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more change Created 5 years, 2 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
index 16d8b8f350a483f8b7dcb2f00631156aec8d6854..aeab8b0c193ebf7f2cf64fa4ead9240dcbf31f5d 100644
--- a/components/offline_pages/proto/offline_pages.proto
+++ b/components/offline_pages/proto/offline_pages.proto
@@ -36,4 +36,16 @@ message OfflinePageEntry {
// Number of times that the offline archive has been accessed.
optional int32 access_count = 8;
+
+ // Flags about the state and behavior of the offline page.
+ enum Flags {
+ // No flag is set.
+ NONE = 0;
+ // Indicates that the page is marked for deletion. The real deletion will
+ // occur soon, after which the undo will not be possible.
+ MARKED_FOR_DELETION = 1;
+ };
+
+ // Flags for the offline page.
+ optional Flags flags = 9;
}

Powered by Google App Engine
This is Rietveld 408576698