OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_ |
6 #define CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_ | 6 #define CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/browser/loader/navigation_url_loader.h" | 9 #include "content/browser/loader/navigation_url_loader.h" |
10 #include "content/common/url_loader.mojom.h" | 10 #include "content/common/url_loader.mojom.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 private: | 59 private: |
60 void ConnectURLLoaderFactory( | 60 void ConnectURLLoaderFactory( |
61 std::unique_ptr<service_manager::Connector> connector); | 61 std::unique_ptr<service_manager::Connector> connector); |
62 | 62 |
63 NavigationURLLoaderDelegate* delegate_; | 63 NavigationURLLoaderDelegate* delegate_; |
64 | 64 |
65 mojom::URLLoaderFactoryRequest url_loader_factory_request_; | 65 mojom::URLLoaderFactoryRequest url_loader_factory_request_; |
66 mojom::URLLoaderFactoryPtr url_loader_factory_; | 66 mojom::URLLoaderFactoryPtr url_loader_factory_; |
67 mojo::Binding<mojom::URLLoaderClient> binding_; | 67 mojo::Binding<mojom::URLLoaderClient> binding_; |
68 mojom::URLLoaderAssociatedPtr url_loader_associated_ptr_; | 68 mojom::URLLoaderAssociatedPtr url_loader_associated_ptr_; |
| 69 scoped_refptr<ResourceResponse> response_; |
69 | 70 |
70 DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderNetworkService); | 71 DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderNetworkService); |
71 }; | 72 }; |
72 | 73 |
73 } // namespace content | 74 } // namespace content |
74 | 75 |
75 #endif // CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_ | 76 #endif // CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_ |
OLD | NEW |