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

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

Issue 1271733002: [2/3 chromium] Support redirect option of Request and "opaqueredirect" response type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add _MODE to avoid compile error at Windows. Created 5 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
« no previous file with comments | « no previous file | content/browser/cache_storage/cache_storage_cache.cc » ('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
(...skipping 13 matching lines...) Expand all
24 repeated CacheHeaderMap headers = 2; 24 repeated CacheHeaderMap headers = 2;
25 } 25 }
26 26
27 message CacheResponse { 27 message CacheResponse {
28 enum ResponseType { 28 enum ResponseType {
29 BASIC_TYPE = 0; 29 BASIC_TYPE = 0;
30 CORS_TYPE = 1; 30 CORS_TYPE = 1;
31 DEFAULT_TYPE = 2; 31 DEFAULT_TYPE = 2;
32 ERROR_TYPE = 3; 32 ERROR_TYPE = 3;
33 OPAQUE_TYPE = 4; 33 OPAQUE_TYPE = 4;
34 OPAQUE_REDIRECT_TYPE = 5;
34 } 35 }
35 36
36 required int32 status_code = 1; 37 required int32 status_code = 1;
37 required string status_text = 2; 38 required string status_text = 2;
38 required ResponseType response_type = 3; 39 required ResponseType response_type = 3;
39 repeated CacheHeaderMap headers = 4; 40 repeated CacheHeaderMap headers = 4;
40 optional string url = 5; 41 optional string url = 5;
41 } 42 }
42 43
43 message CacheMetadata { 44 message CacheMetadata {
44 required CacheRequest request = 1; 45 required CacheRequest request = 1;
45 required CacheResponse response = 2; 46 required CacheResponse response = 2;
46 } 47 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/cache_storage/cache_storage_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698