Index: components/subresource_filter/content/browser/subresource_filter_navigation_throttle_unittests.cc |
diff --git a/components/subresource_filter/content/browser/subresource_filter_navigation_throttle_unittests.cc b/components/subresource_filter/content/browser/subresource_filter_navigation_throttle_unittests.cc |
index c51cbf9aa08d5cc2054c1603273238bfd730f140..e2396df53f214a870462132dcc9cd5c752882699 100644 |
--- a/components/subresource_filter/content/browser/subresource_filter_navigation_throttle_unittests.cc |
+++ b/components/subresource_filter/content/browser/subresource_filter_navigation_throttle_unittests.cc |
@@ -8,6 +8,7 @@ |
#include "base/macros.h" |
#include "base/memory/ptr_util.h" |
+#include "base/memory/ref_counted.h" |
#include "base/metrics/field_trial.h" |
#include "components/safe_browsing_db/util.h" |
#include "components/subresource_filter/content/browser/content_subresource_filter_driver.h" |
@@ -18,6 +19,7 @@ |
#include "content/public/browser/navigation_handle.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/test/test_renderer_host.h" |
+#include "net/http/http_response_headers.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -113,7 +115,8 @@ class SubresourceFilterNavigationThrottleTest |
} |
void SimulateWillProcessResponse() { |
- handle()->CallWillProcessResponseForTesting(main_rfh()); |
+ handle()->CallWillProcessResponseForTesting( |
+ main_rfh(), scoped_refptr<net::HttpResponseHeaders>()); |
bengr
2016/09/09 19:40:52
Is there any way to do this without taking on a ne
megjablon
2016/09/09 20:38:41
Passing in strings and then creating the headers i
|
} |
private: |