OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 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 syntax = "proto2"; |
| 6 |
| 7 package precache; |
| 8 |
| 9 // Chrome requires this. |
| 10 option optimize_for = LITE_RUNTIME; |
| 11 |
| 12 // Quota limit and expiry time. This is stored in a database, and not |
| 13 // transferred via network. |
| 14 message PrecacheQuota { |
| 15 // Represents the time of expiry of this quota. |
| 16 optional int64 expiry_time = 1; |
| 17 |
| 18 // Maximum number of bytes that can be fetched until this quota expires. |
| 19 optional uint64 remaining = 2; |
| 20 }; |
OLD | NEW |