Index: content/browser/loader/navigation_factory_creation_data.h |
diff --git a/content/browser/loader/navigation_factory_creation_data.h b/content/browser/loader/navigation_factory_creation_data.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..090375f7bd763deaddfae72ffe2adbf7699296ba |
--- /dev/null |
+++ b/content/browser/loader/navigation_factory_creation_data.h |
@@ -0,0 +1,38 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_BROWSER_LOADER_NAVIGATION_FACTORY_CREATION_DATA_H_ |
+#define CONTENT_BROWSER_LOADER_NAVIGATION_FACTORY_CREATION_DATA_H_ |
+ |
+#include <memory> |
+ |
+#include "base/callback.h" |
+#include "base/macros.h" |
+#include "content/common/resource_request.h" |
+#include "content/public/common/resource_type.h" |
+ |
+namespace content { |
+ |
+class ResourceContext; |
+class ServiceWorkerNavigationHandleCore; |
+class WebContents; |
+ |
+struct NavigationFactoryCreationData { |
+ NavigationFactoryCreationData(); |
+ ~NavigationFactoryCreationData(); |
+ |
+ std::unique_ptr<ResourceRequest> request; |
+ ServiceWorkerNavigationHandleCore* navigation_handle; |
kinuko
2017/05/01 02:06:24
navigation_handle -> service_worker_navigation_han
|
+ ResourceContext* resource_context; |
+ base::Callback<WebContents*(void)> web_contents_getter; |
+ ResourceType resource_type; |
+ bool is_parent_frame_secure; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(NavigationFactoryCreationData); |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_BROWSER_LOADER_NAVIGATION_FACTORY_CREATION_DATA_H_ |