OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_BROWSER_LOADER_NAVIGATION_FACTORY_CREATION_DATA_H_ | |
6 #define CONTENT_BROWSER_LOADER_NAVIGATION_FACTORY_CREATION_DATA_H_ | |
7 | |
8 #include <memory> | |
9 | |
10 #include "base/callback.h" | |
11 #include "base/macros.h" | |
12 #include "content/common/resource_request.h" | |
13 #include "content/public/common/resource_type.h" | |
14 | |
15 namespace content { | |
16 | |
17 class ResourceContext; | |
18 class ServiceWorkerNavigationHandleCore; | |
19 class WebContents; | |
20 | |
21 struct NavigationFactoryCreationData { | |
22 NavigationFactoryCreationData(); | |
23 ~NavigationFactoryCreationData(); | |
24 | |
25 std::unique_ptr<ResourceRequest> request; | |
26 ServiceWorkerNavigationHandleCore* navigation_handle; | |
kinuko
2017/05/01 02:06:24
navigation_handle -> service_worker_navigation_han
| |
27 ResourceContext* resource_context; | |
28 base::Callback<WebContents*(void)> web_contents_getter; | |
29 ResourceType resource_type; | |
30 bool is_parent_frame_secure; | |
31 | |
32 private: | |
33 DISALLOW_COPY_AND_ASSIGN(NavigationFactoryCreationData); | |
34 }; | |
35 | |
36 } // namespace content | |
37 | |
38 #endif // CONTENT_BROWSER_LOADER_NAVIGATION_FACTORY_CREATION_DATA_H_ | |
OLD | NEW |