OLD | NEW |
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 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HANDLER
_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HANDLER
_H_ |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HANDLER
_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HANDLER
_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
9 #include "content/browser/service_worker/service_worker_request_handler.h" | 9 #include "content/browser/service_worker/service_worker_request_handler.h" |
10 #include "content/common/service_worker/service_worker_types.h" | 10 #include "content/common/service_worker/service_worker_types.h" |
11 #include "content/public/common/request_context_frame_type.h" | 11 #include "content/public/common/request_context_frame_type.h" |
12 #include "content/public/common/request_context_type.h" | 12 #include "content/public/common/request_context_type.h" |
13 #include "content/public/common/resource_type.h" | 13 #include "content/public/common/resource_type.h" |
14 #include "third_party/WebKit/public/platform/WebServiceWorkerResponseType.h" | 14 #include "third_party/WebKit/public/platform/WebServiceWorkerResponseType.h" |
| 15 #include "url/gurl.h" |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 class NetworkDelegate; | 18 class NetworkDelegate; |
18 class URLRequest; | 19 class URLRequest; |
19 } | 20 } |
20 | 21 |
21 namespace content { | 22 namespace content { |
22 | 23 |
23 class ResourceRequestBody; | 24 class ResourceRequestBody; |
24 class ServiceWorkerRegistration; | 25 class ServiceWorkerRegistration; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 void PrepareForSubResource(); | 76 void PrepareForSubResource(); |
76 | 77 |
77 bool is_main_resource_load_; | 78 bool is_main_resource_load_; |
78 scoped_refptr<ServiceWorkerURLRequestJob> job_; | 79 scoped_refptr<ServiceWorkerURLRequestJob> job_; |
79 FetchRequestMode request_mode_; | 80 FetchRequestMode request_mode_; |
80 FetchCredentialsMode credentials_mode_; | 81 FetchCredentialsMode credentials_mode_; |
81 RequestContextType request_context_type_; | 82 RequestContextType request_context_type_; |
82 RequestContextFrameType frame_type_; | 83 RequestContextFrameType frame_type_; |
83 scoped_refptr<ResourceRequestBody> body_; | 84 scoped_refptr<ResourceRequestBody> body_; |
84 ResourceContext* resource_context_; | 85 ResourceContext* resource_context_; |
| 86 GURL stripped_url_; |
85 base::WeakPtrFactory<ServiceWorkerControlleeRequestHandler> weak_factory_; | 87 base::WeakPtrFactory<ServiceWorkerControlleeRequestHandler> weak_factory_; |
86 | 88 |
87 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerControlleeRequestHandler); | 89 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerControlleeRequestHandler); |
88 }; | 90 }; |
89 | 91 |
90 } // namespace content | 92 } // namespace content |
91 | 93 |
92 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HAND
LER_H_ | 94 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HAND
LER_H_ |
OLD | NEW |