OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHILD_WEB_URL_LOADER_IMPL_H_ | 5 #ifndef CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ |
6 #define CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ | 6 #define CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 #include "content/common/url_loader_factory.mojom.h" | 11 #include "content/common/url_loader_factory.mojom.h" |
12 #include "content/public/common/resource_response.h" | 12 #include "content/public/common/resource_response.h" |
13 #include "net/url_request/redirect_info.h" | 13 #include "net/url_request/redirect_info.h" |
14 #include "third_party/WebKit/public/platform/WebURLLoader.h" | 14 #include "third_party/WebKit/public/platform/WebURLLoader.h" |
15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
16 | 16 |
17 namespace base { | |
18 | |
19 class SingleThreadTaskRunner; | |
20 | |
21 } // namespace base | |
22 | |
23 namespace content { | 17 namespace content { |
24 | 18 |
25 class ResourceDispatcher; | 19 class ResourceDispatcher; |
26 struct ResourceResponseInfo; | 20 struct ResourceResponseInfo; |
27 | 21 |
28 // PlzNavigate: Used to override parameters of the navigation request. | 22 // PlzNavigate: Used to override parameters of the navigation request. |
29 struct CONTENT_EXPORT StreamOverrideParameters { | 23 struct CONTENT_EXPORT StreamOverrideParameters { |
30 public: | 24 public: |
31 StreamOverrideParameters(); | 25 StreamOverrideParameters(); |
32 ~StreamOverrideParameters(); | 26 ~StreamOverrideParameters(); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 class Context; | 70 class Context; |
77 class RequestPeerImpl; | 71 class RequestPeerImpl; |
78 scoped_refptr<Context> context_; | 72 scoped_refptr<Context> context_; |
79 | 73 |
80 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl); | 74 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl); |
81 }; | 75 }; |
82 | 76 |
83 } // namespace content | 77 } // namespace content |
84 | 78 |
85 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ | 79 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ |
OLD | NEW |