Chromium Code Reviews| Index: chrome/browser/safe_browsing/incident_reporting/resource_request_detector_unittest.cc |
| diff --git a/chrome/browser/safe_browsing/incident_reporting/resource_request_detector_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/resource_request_detector_unittest.cc |
| index 838720be1db3e85a8c0d85a8237d943d2541c627..afeaafd54a6f708b1c9c37f2a453fb14444d4a2c 100644 |
| --- a/chrome/browser/safe_browsing/incident_reporting/resource_request_detector_unittest.cc |
| +++ b/chrome/browser/safe_browsing/incident_reporting/resource_request_detector_unittest.cc |
| @@ -15,6 +15,7 @@ |
| #include "chrome/common/safe_browsing/csd.pb.h" |
| #include "components/safe_browsing_db/test_database_manager.h" |
| #include "content/public/browser/resource_request_info.h" |
| +#include "content/public/common/previews_state.h" |
| #include "content/public/common/resource_type.h" |
| #include "content/public/test/test_browser_thread_bundle.h" |
| #include "crypto/sha2.h" |
| @@ -90,15 +91,15 @@ class ResourceRequestDetectorTest : public testing::Test { |
| content::ResourceRequestInfo::AllocateForTesting( |
| url_request.get(), resource_type, |
| - NULL, // resource_context |
| - 0, // render_process_id |
| - 0, // render_view_id |
| - MSG_ROUTING_NONE, // render_frame_id |
| - true, // is_main_frame |
| - false, // parent_is_main_frame |
| - true, // allow_download |
| - false, // is_async |
| - false); // is_using_lofi |
| + NULL, // resource_context |
| + 0, // render_process_id |
| + 0, // render_view_id |
| + MSG_ROUTING_NONE, // render_frame_id |
| + true, // is_main_frame |
| + false, // parent_is_main_frame |
| + true, // allow_download |
| + false, // is_async |
| + content::PREVIEWS_OFF); // previews_state |
|
Nico
2017/01/09 22:35:03
ditto
megjablon
2017/01/10 22:30:01
Done.
|
| return url_request; |
| } |