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

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

Issue 651433005: Revert of [ServiceWorkerCache] Implement storage::QuotaClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_cache_quota_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 optional int32 DEPRECATED_size = 2; 14 optional int32 DEPRECATED_size = 2;
15 optional int64 size = 3; 15 optional int64 size = 3;
16 } 16 }
17 repeated Cache cache = 1; 17 repeated Cache cache = 1;
18 optional string origin = 2;
19 } 18 }
20 19
21 message ServiceWorkerRequestResponseHeaders { 20 message ServiceWorkerRequestResponseHeaders {
22 message HeaderMap { 21 message HeaderMap {
23 required string name = 1; 22 required string name = 1;
24 required string value = 2; 23 required string value = 2;
25 } 24 }
26 25
27 enum ResponseType { 26 enum ResponseType {
28 BASIC_TYPE = 0; 27 BASIC_TYPE = 0;
29 CORS_TYPE = 1; 28 CORS_TYPE = 1;
30 DEFAULT_TYPE = 2; 29 DEFAULT_TYPE = 2;
31 ERROR_TYPE = 3; 30 ERROR_TYPE = 3;
32 OPAQUE_TYPE = 4; 31 OPAQUE_TYPE = 4;
33 } 32 }
34 33
35 required string method = 1; 34 required string method = 1;
36 required int32 status_code = 2; 35 required int32 status_code = 2;
37 required string status_text = 3; 36 required string status_text = 3;
38 repeated HeaderMap request_headers = 4; 37 repeated HeaderMap request_headers = 4;
39 repeated HeaderMap response_headers = 5; 38 repeated HeaderMap response_headers = 5;
40 required ResponseType response_type = 6; 39 required ResponseType response_type = 6;
41 } 40 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_cache_quota_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698