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

Side by Side Diff: components/offline_pages/proto/offline_pages.proto

Issue 1993953002: [Offline pages] Adding expiration capability to OfflinePageModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Offline page item protocol for storage and exchanging of offline page 5 // Offline page item protocol for storage and exchanging of offline page
6 // metadata. 6 // metadata.
7 7
8 syntax = "proto2"; 8 syntax = "proto2";
9 9
10 option optimize_for = LITE_RUNTIME; 10 option optimize_for = LITE_RUNTIME;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 // Information about this offline page in the namespace/id of the client that 56 // Information about this offline page in the namespace/id of the client that
57 // requested that it be saved. Useful for reverse lookups. 57 // requested that it be saved. Useful for reverse lookups.
58 58
59 // Namespace (e.g. client name) to separate the (possibly identical) ids 59 // Namespace (e.g. client name) to separate the (possibly identical) ids
60 // from two different clients. 60 // from two different clients.
61 optional string client_id_name_space = 11; 61 optional string client_id_name_space = 11;
62 // Identifier that has meaning for clients of the offline page API. 62 // Identifier that has meaning for clients of the offline page API.
63 // This is provided by consumers of the offline pages API and is opaque to us. 63 // This is provided by consumers of the offline pages API and is opaque to us.
64 optional string client_id = 12; 64 optional string client_id = 12;
65
66 // Last access time of the offline archive.
jianli 2016/05/19 20:39:54 Update comment
fgorski 2016/05/20 17:54:23 Done.
67 optional int64 expiration_time = 13;
65 } 68 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698