Index: content/test/test_navigation_url_loader_delegate.h |
diff --git a/content/test/test_navigation_url_loader_delegate.h b/content/test/test_navigation_url_loader_delegate.h |
index ddc14027bb2393c416aa9939db71de4a7dc8fcf4..1916f3f3f8112a3ccdc819dff210ad407a3ae46f 100644 |
--- a/content/test/test_navigation_url_loader_delegate.h |
+++ b/content/test/test_navigation_url_loader_delegate.h |
@@ -11,6 +11,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/time/time.h" |
#include "content/browser/loader/navigation_url_loader_delegate.h" |
+#include "mojo/public/cpp/system/data_pipe.h" |
#include "net/url_request/redirect_info.h" |
namespace base { |
@@ -56,6 +57,7 @@ class TestNavigationURLLoaderDelegate : public NavigationURLLoaderDelegate { |
const scoped_refptr<ResourceResponse>& response) override; |
void OnResponseStarted(const scoped_refptr<ResourceResponse>& response, |
std::unique_ptr<StreamHandle> body, |
+ mojo::ScopedDataPipeConsumerHandle consumer_handle, |
const SSLStatus& ssl_status, |
std::unique_ptr<NavigationData> navigation_data, |
const GlobalRequestID& request_id, |
@@ -69,6 +71,7 @@ class TestNavigationURLLoaderDelegate : public NavigationURLLoaderDelegate { |
scoped_refptr<ResourceResponse> redirect_response_; |
scoped_refptr<ResourceResponse> response_; |
std::unique_ptr<StreamHandle> body_; |
+ mojo::ScopedDataPipeConsumerHandle handle_; |
int net_error_; |
int on_request_handled_counter_; |