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

Side by Side Diff: content/renderer/service_worker/service_worker_type_util.h

Issue 2516353002: Introduce url_list to the Response scheme of CacheStorage. (Closed)
Patch Set: implicit conversion WebURL <-> GURL and WebVector <- vector Created 4 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_TYPE_UTIL_H_ 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_TYPE_UTIL_H_
6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_TYPE_UTIL_H_ 6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_TYPE_UTIL_H_
7 7
8 #include "content/common/service_worker/service_worker_types.h" 8 #include "content/common/service_worker/service_worker_types.h"
9 9
10 namespace blink { 10 namespace blink {
11 class WebServiceWorkerRequest; 11 class WebServiceWorkerRequest;
12 class WebServiceWorkerResponse; 12 class WebServiceWorkerResponse;
13 } 13 }
14 14
15 namespace content { 15 namespace content {
16 16
17 void GetServiceWorkerHeaderMapFromWebRequest( 17 void GetServiceWorkerHeaderMapFromWebRequest(
18 const blink::WebServiceWorkerRequest& web_request, 18 const blink::WebServiceWorkerRequest& web_request,
19 ServiceWorkerHeaderMap* headers); 19 ServiceWorkerHeaderMap* headers);
20 20
21 void GetServiceWorkerHeaderMapFromWebResponse( 21 ServiceWorkerResponse GetServiceWorkerResponseFromWebResponse(
22 const blink::WebServiceWorkerResponse& web_response, 22 const blink::WebServiceWorkerResponse& web_response);
23 ServiceWorkerHeaderMap* headers);
24
25 void GetCorsExposedHeaderNamesFromWebResponse(
26 const blink::WebServiceWorkerResponse& web_response,
27 ServiceWorkerHeaderList* result);
28 23
29 } // namespace content 24 } // namespace content
30 25
31 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_TYPE_UTIL_H_ 26 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_TYPE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698