Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: content/browser/loader/navigation_factory_creation_data.h

Issue 2843043002: network service: Create URLLoader for service worker navigation case
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698