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

Side by Side 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, 7 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698