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

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

Issue 1422363004: [CacheStorage] Give cache directories unique names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2526
Patch Set: Created 5 years, 1 month 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; 9 package content;
10 10
11 message CacheStorageIndex { 11 message CacheStorageIndex {
12 message Cache { required string name = 1; } 12 message Cache {
13 required string name = 1;
14 optional string cache_dir = 2;
15 }
13 repeated Cache cache = 1; 16 repeated Cache cache = 1;
14 optional string origin = 2; 17 optional string origin = 2;
15 } 18 }
16 19
17 message CacheHeaderMap { 20 message CacheHeaderMap {
18 required string name = 1; 21 required string name = 1;
19 required string value = 2; 22 required string value = 2;
20 } 23 }
21 24
22 message CacheRequest { 25 message CacheRequest {
(...skipping 15 matching lines...) Expand all
38 required string status_text = 2; 41 required string status_text = 2;
39 required ResponseType response_type = 3; 42 required ResponseType response_type = 3;
40 repeated CacheHeaderMap headers = 4; 43 repeated CacheHeaderMap headers = 4;
41 optional string url = 5; 44 optional string url = 5;
42 } 45 }
43 46
44 message CacheMetadata { 47 message CacheMetadata {
45 required CacheRequest request = 1; 48 required CacheRequest request = 1;
46 required CacheResponse response = 2; 49 required CacheResponse response = 2;
47 } 50 }
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