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" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 bool is_main_resource_load_; | 76 bool is_main_resource_load_; |
77 scoped_refptr<ServiceWorkerURLRequestJob> job_; | 77 scoped_refptr<ServiceWorkerURLRequestJob> job_; |
78 FetchRequestMode request_mode_; | 78 FetchRequestMode request_mode_; |
79 FetchCredentialsMode credentials_mode_; | 79 FetchCredentialsMode credentials_mode_; |
80 RequestContextType request_context_type_; | 80 RequestContextType request_context_type_; |
81 RequestContextFrameType frame_type_; | 81 RequestContextFrameType frame_type_; |
82 scoped_refptr<ResourceRequestBody> body_; | 82 scoped_refptr<ResourceRequestBody> body_; |
83 ResourceContext* resource_context_; | 83 ResourceContext* resource_context_; |
84 GURL stripped_url_; | 84 GURL stripped_url_; |
| 85 base::TimeTicks worker_start_time_; |
85 base::WeakPtrFactory<ServiceWorkerControlleeRequestHandler> weak_factory_; | 86 base::WeakPtrFactory<ServiceWorkerControlleeRequestHandler> weak_factory_; |
86 | 87 |
87 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerControlleeRequestHandler); | 88 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerControlleeRequestHandler); |
88 }; | 89 }; |
89 | 90 |
90 } // namespace content | 91 } // namespace content |
91 | 92 |
92 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HAND
LER_H_ | 93 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HAND
LER_H_ |
OLD | NEW |