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

Side by Side Diff: content/browser/service_worker/service_worker_cache.proto

Issue 465463002: Initial implementation of ServiceWorkerCache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cache2
Patch Set: Fix order of eval error Created 6 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; 9 package content;
10 10
11 message ServiceWorkerCacheStorageIndex { 11 message ServiceWorkerCacheStorageIndex {
12 message Cache { 12 message Cache {
13 required string name = 1; 13 required string name = 1;
14 required int32 size = 2; 14 required int32 size = 2;
michaeln 2014/08/21 01:46:15 can this be an int64
jkarlin 2014/08/21 18:31:21 Done. Because size has never been used no migrati
15 } 15 }
16 repeated Cache cache = 1; 16 repeated Cache cache = 1;
17 } 17 }
18
19 message ServiceWorkerRequestResponseHeaders {
michaeln 2014/08/21 01:46:15 should this and the index struct have a version fi
jkarlin 2014/08/21 18:31:21 Protobuf tags obviate the need for version fields.
20 message HeaderMap {
21 required string name = 1;
22 required string value = 2;
23 }
24 required string method = 1;
25 required int32 status_code = 2;
26 required string status_text = 3;
27 repeated HeaderMap request_headers = 4;
28 repeated HeaderMap response_headers = 5;
29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698