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

Side by Side Diff: content/browser/cache_storage/cache_storage.proto

Issue 3002693002: Revert of [CacheStorage] Pad and bin opaque resource sizes. (Closed)
Patch Set: Created 3 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 package content.proto; 9 package content.proto;
10 10
11 message CacheStorageIndex { 11 message CacheStorageIndex {
12 message Cache { 12 message Cache {
13 required string name = 1; 13 required string name = 1;
14 optional string cache_dir = 2; 14 optional string cache_dir = 2;
15 optional int64 size = 3; 15 optional int64 size = 3;
16 optional string padding_key = 4;
17 optional int64 padding = 5;
18 optional int32 padding_version = 6;
19 } 16 }
20 repeated Cache cache = 1; 17 repeated Cache cache = 1;
21 optional string origin = 2; 18 optional string origin = 2;
22 } 19 }
23 20
24 message CacheHeaderMap { 21 message CacheHeaderMap {
25 required string name = 1; 22 required string name = 1;
26 required string value = 2; 23 required string value = 2;
27 } 24 }
28 25
(...skipping 20 matching lines...) Expand all
49 optional int64 response_time = 6; 46 optional int64 response_time = 6;
50 repeated string cors_exposed_header_names = 7; 47 repeated string cors_exposed_header_names = 7;
51 repeated string url_list = 8; 48 repeated string url_list = 8;
52 } 49 }
53 50
54 message CacheMetadata { 51 message CacheMetadata {
55 required CacheRequest request = 1; 52 required CacheRequest request = 1;
56 required CacheResponse response = 2; 53 required CacheResponse response = 2;
57 optional int64 entry_time = 3; 54 optional int64 entry_time = 3;
58 } 55 }
OLDNEW
« no previous file with comments | « content/browser/cache_storage/cache_storage.cc ('k') | content/browser/cache_storage/cache_storage_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698