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

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

Issue 1039763002: Cache Storage: Move files to content/*/cache_storage, rename classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN fix Created 5 years, 8 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 2014 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 option optimize_for = LITE_RUNTIME;
8
9 package content;
10
11 message ServiceWorkerCacheStorageIndex {
12 message Cache {
13 required string name = 1;
14 }
15 repeated Cache cache = 1;
16 optional string origin = 2;
17 }
18
19 message ServiceWorkerCacheHeaderMap {
20 required string name = 1;
21 required string value = 2;
22 }
23
24 message ServiceWorkerCacheRequest {
25 required string method = 1;
26 repeated ServiceWorkerCacheHeaderMap headers = 2;
27 }
28
29 message ServiceWorkerCacheResponse {
30 enum ResponseType {
31 BASIC_TYPE = 0;
32 CORS_TYPE = 1;
33 DEFAULT_TYPE = 2;
34 ERROR_TYPE = 3;
35 OPAQUE_TYPE = 4;
36 }
37
38 required int32 status_code = 1;
39 required string status_text = 2;
40 required ResponseType response_type = 3;
41 repeated ServiceWorkerCacheHeaderMap headers = 4;
42 optional string url = 5;
43 }
44
45 message ServiceWorkerCacheMetadata {
46 required ServiceWorkerCacheRequest request = 1;
47 required ServiceWorkerCacheResponse response = 2;
48 }
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_cache.cc ('k') | content/browser/service_worker/service_worker_cache_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698