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

Side by Side Diff: components/precache/core/proto/quota.proto

Issue 2335913002: Add daily quota for precache (Closed)
Patch Set: Added quota proto Created 4 years, 3 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
(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.
sclittle 2016/09/14 17:59:18 nit: Could you also mention here that this is stor
Raj 2016/09/14 20:01:51 Done.
13 message PrecacheQuota {
14 // Represents the time of expiry of this quota.
15 optional int64 expiry_time = 1;
16
17 // Maximum number of bytes that can be fetched until this quota expires.
18 optional uint64 remaining = 2;
19 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698