| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 private: | 62 private: |
| 63 NavigationURLLoaderDelegate* delegate_; | 63 NavigationURLLoaderDelegate* delegate_; |
| 64 | 64 |
| 65 mojo::Binding<mojom::URLLoaderClient> binding_; | 65 mojo::Binding<mojom::URLLoaderClient> binding_; |
| 66 std::unique_ptr<NavigationRequestInfo> request_info_; | 66 std::unique_ptr<NavigationRequestInfo> request_info_; |
| 67 mojom::URLLoaderAssociatedPtr url_loader_associated_ptr_; | 67 mojom::URLLoaderAssociatedPtr url_loader_associated_ptr_; |
| 68 scoped_refptr<ResourceResponse> response_; | 68 scoped_refptr<ResourceResponse> response_; |
| 69 SSLStatus ssl_status_; | 69 SSLStatus ssl_status_; |
| 70 | 70 |
| 71 // Request ID for browser initiated requests. We start at -2 on the same lines |
| 72 // ResourceDispatcherHostImpl. |
| 73 int request_id_; |
| 74 |
| 71 DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderNetworkService); | 75 DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderNetworkService); |
| 72 }; | 76 }; |
| 73 | 77 |
| 74 } // namespace content | 78 } // namespace content |
| 75 | 79 |
| 76 #endif // CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_ | 80 #endif // CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_ |
| OLD | NEW |