OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_WORKER_FETCH_CONTEXT_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_WORKER_FETCH_CONTEXT_IMPL_H_ |
6 #define CONTENT_RENDERER_SERVICE_WORKER_WORKER_FETCH_CONTEXT_IMPL_H_ | 6 #define CONTENT_RENDERER_SERVICE_WORKER_WORKER_FETCH_CONTEXT_IMPL_H_ |
7 | 7 |
8 #include "content/common/service_worker/service_worker_types.h" | 8 #include "content/common/service_worker/service_worker_types.h" |
9 #include "content/common/worker_url_loader_factory_provider.mojom.h" | 9 #include "content/common/worker_url_loader_factory_provider.mojom.h" |
| 10 #include "content/public/common/service_worker_modes.h" |
10 #include "ipc/ipc_message.h" | 11 #include "ipc/ipc_message.h" |
11 #include "mojo/public/cpp/bindings/associated_binding.h" | 12 #include "mojo/public/cpp/bindings/associated_binding.h" |
12 #include "third_party/WebKit/public/platform/WebApplicationCacheHost.h" | 13 #include "third_party/WebKit/public/platform/WebApplicationCacheHost.h" |
13 #include "third_party/WebKit/public/platform/WebWorkerFetchContext.h" | 14 #include "third_party/WebKit/public/platform/WebWorkerFetchContext.h" |
14 #include "url/gurl.h" | 15 #include "url/gurl.h" |
15 | 16 |
16 namespace base { | 17 namespace base { |
17 class SingleThreadTaskRunner; | 18 class SingleThreadTaskRunner; |
18 } // namespace base | 19 } // namespace base |
19 | 20 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 bool is_data_saver_enabled_ = false; | 91 bool is_data_saver_enabled_ = false; |
91 int parent_frame_id_ = MSG_ROUTING_NONE; | 92 int parent_frame_id_ = MSG_ROUTING_NONE; |
92 GURL first_party_for_cookies_; | 93 GURL first_party_for_cookies_; |
93 bool is_secure_context_ = false; | 94 bool is_secure_context_ = false; |
94 int appcache_host_id_ = blink::WebApplicationCacheHost::kAppCacheNoHostId; | 95 int appcache_host_id_ = blink::WebApplicationCacheHost::kAppCacheNoHostId; |
95 }; | 96 }; |
96 | 97 |
97 } // namespace content | 98 } // namespace content |
98 | 99 |
99 #endif // CONTENT_RENDERER_SERVICE_WORKER_WORKER_FETCH_CONTEXT_IMPL_H_ | 100 #endif // CONTENT_RENDERER_SERVICE_WORKER_WORKER_FETCH_CONTEXT_IMPL_H_ |
OLD | NEW |